/external/deqp/modules/glshared/ |
D | glsRandomShaderProgram.cpp | 87 for (int uniformNdx = 0; uniformNdx < numUnifiedUniforms; uniformNdx++) in generateProgramDeclaration() local 89 const rsg::ShaderInput* uniform = unifiedUniforms[uniformNdx]; in generateProgramDeclaration() 159 for (int uniformNdx = 0; uniformNdx < m_numUnifiedUniforms; uniformNdx++) in refreshUniforms() local 161 const rsg::Variable* uniformVar = m_unifiedUniforms[uniformNdx]->getVariable(); in refreshUniforms() 163 const sglr::UniformSlot& uniformSlot = m_uniforms[uniformNdx]; in refreshUniforms()
|
D | glsUniformBlockCase.cpp | 613 for (int uniformNdx = firstUniformNdx; uniformNdx < uniformIndicesEnd; uniformNdx++) in computeStd140Layout() local 614 blockEntry.activeUniformIndices.push_back(uniformNdx); in computeStd140Layout() 1009 int uniformNdx = layout.getUniformIndex(fullApiName.c_str()); in generateCompareSrc() local 1010 const UniformLayoutEntry& entry = layout.uniforms[uniformNdx]; in generateCompareSrc() 1236 for (int uniformNdx = 0; uniformNdx < numActiveUniforms; uniformNdx++) in getGLUniformLayout() local 1238 UniformLayoutEntry& entry = layout.uniforms[uniformNdx]; in getGLUniformLayout() 1239 std::vector<char> nameBuf (nameLengths[uniformNdx]); in getGLUniformLayout() 1244 …gl.getActiveUniform(program, (deUint32)uniformNdx, (glw::GLsizei)nameBuf.size(), &nameLen, &size, … in getGLUniformLayout() 1249 if (nameLen+1 != nameLengths[uniformNdx] || in getGLUniformLayout() 1250 size != sizes[uniformNdx] || in getGLUniformLayout() [all …]
|
/external/deqp/external/openglcts/modules/common/ |
D | glcUniformBlockCase.cpp | 590 for (int uniformNdx = firstUniformNdx; uniformNdx < uniformIndicesEnd; uniformNdx++) in computeStd140Layout() local 591 blockEntry.activeUniformIndices.push_back(uniformNdx); in computeStd140Layout() 938 int uniformNdx = layout.getUniformIndex(fullApiName.c_str()); in generateCompareSrc() local 939 const UniformLayoutEntry& entry = layout.uniforms[uniformNdx]; in generateCompareSrc() 1185 for (int uniformNdx = 0; uniformNdx < numActiveUniforms; uniformNdx++) in getGLUniformLayout() local 1187 UniformLayoutEntry& entry = layout.uniforms[uniformNdx]; in getGLUniformLayout() 1188 std::vector<char> nameBuf(nameLengths[uniformNdx]); in getGLUniformLayout() 1193 …gl.getActiveUniform(program, (deUint32)uniformNdx, (glw::GLsizei)nameBuf.size(), &nameLen, &size, … in getGLUniformLayout() 1199 if (nameLen + 1 != nameLengths[uniformNdx] || size != sizes[uniformNdx] || in getGLUniformLayout() 1200 type != (deUint32)types[uniformNdx]) in getGLUniformLayout() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fUniformLocationTests.cpp | 281 for (int uniformNdx = 0; uniformNdx < int(uniformList.size()); uniformNdx++) in genShaderSources() local 283 const UniformInfo& uniformInfo = uniformList[uniformNdx]; in genShaderSources() 293 const string uniName = "uni" + de::toString(uniformNdx); in genShaderSources() 385 for (int uniformNdx = 0; uniformNdx < int(uniformList.size()); uniformNdx++) in verifyLocations() local 387 const UniformInfo& uniformInfo = uniformList[uniformNdx]; in verifyLocations() 392 const string name = getUniformName(uniformNdx, uniformInfo.type, subTypeIter.getPath()); in verifyLocations() 555 for (unsigned int uniformNdx = 0; uniformNdx < uniformList.size(); uniformNdx++) in render() local 557 const UniformInfo& uniformInfo = uniformList[uniformNdx]; in render() 563 const string name = getUniformName(uniformNdx, uniformInfo.type, subTypeIter.getPath()); in render()
|
/external/deqp/external/vulkancts/modules/vulkan/ubo/ |
D | vktUniformBlockCase.cpp | 732 for (int uniformNdx = firstUniformNdx; uniformNdx < uniformIndicesEnd; uniformNdx++) in computeReferenceLayout() local 733 blockEntry.activeUniformIndices.push_back(uniformNdx); in computeReferenceLayout() 1118 const int uniformNdx = layout.getUniformLayoutIndex(blockNdx, name.str()); in getBlockMemberOffset() local 1119 DE_ASSERT(uniformNdx >= 0); in getBlockMemberOffset() 1121 return layout.uniforms[uniformNdx].offset; in getBlockMemberOffset() 1503 int uniformNdx = layout.getUniformLayoutIndex(blockNdx, fullApiName); in generateCompareSrc() local 1504 const UniformLayoutEntry& entry = layout.uniforms[uniformNdx]; in generateCompareSrc() 2080 for (size_t uniformNdx = 0; uniformNdx < m_layout.uniforms.size(); uniformNdx++) in iterate() local 2082 …< tcu::TestLog::Message << "Uniform index: " << uniformNdx << " infos: " << m_layout.uniforms[unif… in iterate()
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrReferenceContext.cpp | 4406 …for (size_t uniformNdx = 0; uniformNdx < m_currentProgram->m_program->m_uniforms.size(); ++uniform… in drawWithReference() local 4409 const int texNdx = m_currentProgram->m_program->m_uniforms[uniformNdx].value.i; in drawWithReference() 4411 switch (m_currentProgram->m_program->m_uniforms[uniformNdx].type) in drawWithReference() 4425 m_currentProgram->m_program->m_uniforms[uniformNdx].sampler.tex1D = tex; in drawWithReference() 4428 m_currentProgram->m_program->m_uniforms[uniformNdx].sampler.tex1D = &m_emptyTex1D; in drawWithReference() 4444 m_currentProgram->m_program->m_uniforms[uniformNdx].sampler.tex2D = tex; in drawWithReference() 4447 m_currentProgram->m_program->m_uniforms[uniformNdx].sampler.tex2D = &m_emptyTex2D; in drawWithReference() 4463 m_currentProgram->m_program->m_uniforms[uniformNdx].sampler.texCube = tex; in drawWithReference() 4466 m_currentProgram->m_program->m_uniforms[uniformNdx].sampler.texCube = &m_emptyTexCube; in drawWithReference() 4482 m_currentProgram->m_program->m_uniforms[uniformNdx].sampler.tex2DArray = tex; in drawWithReference() [all …]
|
/external/deqp/modules/gles2/performance/ |
D | es2pShaderCompilationCases.cpp | 1751 for (int uniformNdx = 0; uniformNdx < (int)progCtx.uniforms.size(); uniformNdx++) in setShaderInputs() local 1753 int location = gl.getUniformLocation(program, progCtx.uniforms[uniformNdx].name.c_str()); in setShaderInputs() 1756 const float* floatPtr = progCtx.uniforms[uniformNdx].value.getPtr(); in setShaderInputs() 1758 switch (progCtx.uniforms[uniformNdx].type) in setShaderInputs()
|
/external/deqp/modules/gles3/performance/ |
D | es3pShaderCompilationCases.cpp | 1771 for (int uniformNdx = 0; uniformNdx < (int)progCtx.uniforms.size(); uniformNdx++) in setShaderInputs() local 1773 int location = gl.getUniformLocation(program, progCtx.uniforms[uniformNdx].name.c_str()); in setShaderInputs() 1776 const float* floatPtr = progCtx.uniforms[uniformNdx].value.getPtr(); in setShaderInputs() 1778 switch (progCtx.uniforms[uniformNdx].type) in setShaderInputs()
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderStateQueryTests.cpp | 1266 for (int uniformNdx = 0; uniformNdx < DE_LENGTH_OF_ARRAY(uniformNames); ++uniformNdx) in test() local 1268 if (uniformName == uniformNames[uniformNdx]) in test()
|