Home
last modified time | relevance | path

Searched refs:ndxStr (Results 1 – 6 of 6) sorted by relevance

/external/deqp/modules/gles2/performance/
Des2pShaderCompilationCases.cpp773 string ndxStr = de::toString(lightNdx); in lightVertexTemplate() local
776 "uniform mediump vec3 u_light" + ndxStr + "_color${NAME_SPEC};\n" in lightVertexTemplate()
777 "uniform mediump vec3 u_light" + ndxStr + "_direction${NAME_SPEC};\n"; in lightVertexTemplate()
781 "uniform mediump vec4 u_light" + ndxStr + "_position${NAME_SPEC};\n" in lightVertexTemplate()
782 "uniform mediump float u_light" + ndxStr + "_constantAttenuation${NAME_SPEC};\n" in lightVertexTemplate()
783 "uniform mediump float u_light" + ndxStr + "_linearAttenuation${NAME_SPEC};\n" in lightVertexTemplate()
784 "uniform mediump float u_light" + ndxStr + "_quadraticAttenuation${NAME_SPEC};\n"; in lightVertexTemplate()
857 string ndxStr = de::toString(lightNdx); in lightVertexTemplate() local
860 " /* Light " + ndxStr + " */\n"; in lightVertexTemplate()
865 …" mediump float distanceToLight" + ndxStr + " = distance(eyePosition, u_light" + ndxStr + "_positi… in lightVertexTemplate()
[all …]
/external/deqp/modules/gles3/performance/
Des3pShaderCompilationCases.cpp774 string ndxStr = de::toString(lightNdx); in lightVertexTemplate() local
777 "uniform mediump vec3 u_light" + ndxStr + "_color${NAME_SPEC};\n" in lightVertexTemplate()
778 "uniform mediump vec3 u_light" + ndxStr + "_direction${NAME_SPEC};\n"; in lightVertexTemplate()
782 "uniform mediump vec4 u_light" + ndxStr + "_position${NAME_SPEC};\n" in lightVertexTemplate()
783 "uniform mediump float u_light" + ndxStr + "_constantAttenuation${NAME_SPEC};\n" in lightVertexTemplate()
784 "uniform mediump float u_light" + ndxStr + "_linearAttenuation${NAME_SPEC};\n" in lightVertexTemplate()
785 "uniform mediump float u_light" + ndxStr + "_quadraticAttenuation${NAME_SPEC};\n"; in lightVertexTemplate()
858 string ndxStr = de::toString(lightNdx); in lightVertexTemplate() local
861 " /* Light " + ndxStr + " */\n"; in lightVertexTemplate()
866 …" mediump float distanceToLight" + ndxStr + " = distance(eyePosition, u_light" + ndxStr + "_positi… in lightVertexTemplate()
[all …]
/external/deqp/modules/glshared/
DglsLongStressTestUtil.cpp561 const std::string ndxStr = de::toString(i); in generateVertexUniformLoopLightContext() local
563 …context.uniforms.push_back(gls::VarSpec("u_spotLight${NS}["+ndxStr+"].color", Vec3(0.0f), … in generateVertexUniformLoopLightContext()
564 …context.uniforms.push_back(gls::VarSpec("u_spotLight${NS}["+ndxStr+"].position", Vec4(-1.0f), … in generateVertexUniformLoopLightContext()
565 …context.uniforms.push_back(gls::VarSpec("u_spotLight${NS}["+ndxStr+"].direction", Vec3(-1.0f), … in generateVertexUniformLoopLightContext()
566 …context.uniforms.push_back(gls::VarSpec("u_spotLight${NS}["+ndxStr+"].constantAttenuation", 0.1f,… in generateVertexUniformLoopLightContext()
567 …context.uniforms.push_back(gls::VarSpec("u_spotLight${NS}["+ndxStr+"].linearAttenuation", 0.1f, … in generateVertexUniformLoopLightContext()
568 …context.uniforms.push_back(gls::VarSpec("u_spotLight${NS}["+ndxStr+"].quadraticAttenuation", 0.1f,… in generateVertexUniformLoopLightContext()
569 …context.uniforms.push_back(gls::VarSpec("u_spotLight${NS}["+ndxStr+"].spotExponent", 0.1f, … in generateVertexUniformLoopLightContext()
570 …context.uniforms.push_back(gls::VarSpec("u_spotLight${NS}["+ndxStr+"].spotCutoff", 0.1f, 1… in generateVertexUniformLoopLightContext()
/external/deqp/modules/gles3/functional/
Des3fTextureUnitTests.cpp212 string ndxStr = de::toString(ndx); in generateMultiTexFragmentShader() local
213 string samplerName = "u_sampler" + ndxStr; in generateMultiTexFragmentShader()
214 string transformationName = "u_trans" + ndxStr; in generateMultiTexFragmentShader()
215 string scaleName = "u_texScale" + ndxStr; in generateMultiTexFragmentShader()
216 string biasName = "u_texBias" + ndxStr; in generateMultiTexFragmentShader()
552 string ndxStr = de::toString(ndx); in setUniforms() local
554 ctx.uniform1i(ctx.getUniformLocation(program, ("u_sampler" + ndxStr).c_str()), ndx); in setUniforms()
555 …ctx.uniformMatrix4fv(ctx.getUniformLocation(program, ("u_trans" + ndxStr).c_str()), 1, GL_FALSE, (… in setUniforms()
556 …ctx.uniform4fv(ctx.getUniformLocation(program, ("u_texScale" + ndxStr).c_str()), 1, m_texScales[nd… in setUniforms()
557 …ctx.uniform4fv(ctx.getUniformLocation(program, ("u_texBias" + ndxStr).c_str()), 1, m_texBiases[ndx… in setUniforms()
/external/deqp/modules/gles2/functional/
Des2fTextureUnitTests.cpp143 string ndxStr = de::toString(ndx); in generateMultiTexFragmentShader() local
144 string samplerName = "u_sampler" + ndxStr; in generateMultiTexFragmentShader()
145 string transformationName = "u_trans" + ndxStr; in generateMultiTexFragmentShader()
405 string ndxStr = de::toString(ndx); in setUniforms() local
407 ctx.uniform1i(ctx.getUniformLocation(program, ("u_sampler" + ndxStr).c_str()), ndx); in setUniforms()
408 …ctx.uniformMatrix3fv(ctx.getUniformLocation(program, ("u_trans" + ndxStr).c_str()), 1, GL_FALSE, (… in setUniforms()
/external/deqp/modules/gles31/functional/
Des31fSeparateShaderTests.cpp344 const string ndxStr = de::toString(varNdx); in genVaryingInterface() local
346 ? "var" + ndxStr : "vtxVar" + ndxStr); in genVaryingInterface()
348 ? "var" + ndxStr : "frgVar" + ndxStr); in genVaryingInterface()