/external/deqp/modules/gles31/functional/ |
D | es31fProgramInterfaceDefinition.cpp | 83 for (int varNdx = 0; varNdx < (int)decls.size(); ++varNdx) in containsMatchingSubtype() local 84 if (containsMatchingSubtype(decls[varNdx].varType, predicate)) in containsMatchingSubtype() 228 for (int varNdx = 0; varNdx < (int)m_defaultBlock.variables.size(); ++varNdx) in isValid() local 231 if (m_defaultBlock.variables[varNdx].layout.binding == -1 && in isValid() 232 containsMatchingSubtype(m_defaultBlock.variables[varNdx].varType, glu::isDataTypeAtomicCounter)) in isValid() 236 if (m_defaultBlock.variables[varNdx].varType.isStructType() && in isValid() 237 containsMatchingSubtype(m_defaultBlock.variables[varNdx].varType, glu::isDataTypeAtomicCounter)) in isValid() 242 if (m_defaultBlock.variables[varNdx].layout.matrixOrder != glu::MATRIXORDER_LAST) in isValid() 245 if (containsMatchingSubtype(m_defaultBlock.variables[varNdx].varType, glu::isDataTypeSampler)) in isValid() 247 …WithLocationAndBinding(m_defaultBlock.variables[varNdx].layout.location, m_defaultBlock.variables[… in isValid() [all …]
|
D | es31fProgramInterfaceDefinitionUtil.cpp | 772 for (int varNdx = 0; varNdx < (int)shader->getDefaultBlock().variables.size(); ++varNdx) in traverseShaderVariablePath() local 773 if (filter.matchesFilter(shader->getDefaultBlock().variables[varNdx])) in traverseShaderVariablePath() 774 if (traverseVariablePath(typePath, path, shader->getDefaultBlock().variables[varNdx])) in traverseShaderVariablePath() 793 …for (int varNdx = 0; varNdx < (int)shader->getDefaultBlock().interfaceBlocks[interfaceNdx].variabl… in traverseShaderVariablePath() local 795 …if (shader->getDefaultBlock().interfaceBlocks[interfaceNdx].variables[varNdx].name == blockMemeber… in traverseShaderVariablePath() 798 …ePath, blockMemberPath, shader->getDefaultBlock().interfaceBlocks[interfaceNdx].variables[varNdx]); in traverseShaderVariablePath() 810 …for (int varNdx = 0; varNdx < (int)shader->getDefaultBlock().interfaceBlocks[interfaceNdx].variabl… in traverseShaderVariablePath() local 812 …if (shader->getDefaultBlock().interfaceBlocks[interfaceNdx].variables[varNdx].name == blockMemeber… in traverseShaderVariablePath() 815 …blePath(typePath, path, shader->getDefaultBlock().interfaceBlocks[interfaceNdx].variables[varNdx]); in traverseShaderVariablePath() 946 …for (int varNdx = 0; varNdx < (int)shader->getDefaultBlock().interfaceBlocks[ndx].variables.size()… in accumulateShader() local [all …]
|
D | es31fSSBOLayoutCase.cpp | 715 for (int varNdx = firstVarNdx; varNdx < varIndicesEnd; varNdx++) in computeReferenceLayout() local 716 blockEntry.activeVarIndices.push_back(varNdx); in computeReferenceLayout() 791 const int varNdx = blockLayout.activeVarIndices[entryNdx]; in generateValues() local 792 const BufferVarLayoutEntry& varEntry = layout.bufferVars[varNdx]; in generateValues() 1145 const int varNdx = bufferLayout.getVariableIndex(apiName); in generateCompareSrc() local 1147 DE_ASSERT(varNdx >= 0); in generateCompareSrc() 1149 const BufferVarLayoutEntry& varLayout = bufferLayout.bufferVars[varNdx]; in generateCompareSrc() 1229 const int varNdx = bufferLayout.getVariableIndex(apiName); in generateWriteSrc() local 1231 DE_ASSERT(varNdx >= 0); in generateWriteSrc() 1233 const BufferVarLayoutEntry& varLayout = bufferLayout.bufferVars[varNdx]; in generateWriteSrc() [all …]
|
D | es31fOpaqueTypeIndexingTests.cpp | 92 for (int varNdx = 0; varNdx < numVars; varNdx++) in declareUniformIndexVars() local 93 str << "uniform highp int " << varPrefix << varNdx << ";\n"; in declareUniformIndexVars() 98 for (int varNdx = 0; varNdx < numIndices; varNdx++) in uploadUniformIndices() local 100 const string varName = varPrefix + de::toString(varNdx); in uploadUniformIndices() 104 gl.uniform1i(loc, indices[varNdx]); in uploadUniformIndices()
|
D | es31fProgramInterfaceQueryTests.cpp | 1908 for (int varNdx = 0; varNdx < numActiveResources; ++varNdx) in iterate() local 1910 if (varNdx) in iterate() 1912 builder << activeVariableIndices[varNdx]; in iterate() 1921 for (int varNdx = 0; varNdx < numActiveResources; ++varNdx) in iterate() local 1928 …program.getProgram(), programMemberInterfaceValue, activeVariableIndices[varNdx], 1, &nameProp, 1,… in iterate() 1940 …program.getProgram(), programMemberInterfaceValue, activeVariableIndices[varNdx], nameLength+1, &w… in iterate() 1956 activeResourceNames[varNdx] = std::string(&nameBuffer[0], written); in iterate() 1964 for (int varNdx = 0; varNdx < numActiveResources; ++varNdx) in iterate() local 1965 builder << "\t" << activeResourceNames[varNdx] << "\n"; in iterate() 1995 for (int varNdx = 0; varNdx < (int)referenceList.size(); ++varNdx) in iterate() local [all …]
|
D | es31fShaderIntegerFunctionTests.cpp | 241 for (int varNdx = 0; varNdx < (int)symbols.size(); ++varNdx) in getInputOutputPointers() local 243 const Symbol& var = symbols[varNdx]; in getInputOutputPointers() 247 pointers[varNdx] = &data[curScalarOffset]; in getInputOutputPointers()
|
D | es31fSeparateShaderTests.cpp | 333 for (int varNdx = 0; varNdx < params.count; ++varNdx) in genVaryingInterface() local 344 const string ndxStr = de::toString(varNdx); in genVaryingInterface()
|
D | es31fShaderCommonFunctionTests.cpp | 305 for (int varNdx = 0; varNdx < (int)symbols.size(); ++varNdx) in getInputOutputPointers() local 307 const Symbol& var = symbols[varNdx]; in getInputOutputPointers() 311 pointers[varNdx] = &data[curScalarOffset]; in getInputOutputPointers()
|
D | es31fProgramInterfaceQueryTestCase.cpp | 1886 for (int varNdx = 0; varNdx < (int)block.variables.size(); ++varNdx) in getInterfaceBlockInteraceNameByMember() local 1888 if (block.variables[varNdx].name == memberName) in getInterfaceBlockInteraceNameByMember()
|
/external/deqp/modules/glshared/ |
D | glsRandomShaderProgram.cpp | 222 for (int varNdx = 0; varNdx < (int)m_vertexOutputs.size(); varNdx++) in shadeVertices() local 224 const rsg::Variable* var = m_vertexOutputs[varNdx]; in shadeVertices() 235 float* const dst = packet->outputs[varNdx].getAccess<float>(); in shadeVertices() 260 for (int varNdx = 0; varNdx < (int)m_fragmentShader.getInputs().size(); ++varNdx) in shadeFragments() local 262 const rsg::Variable* var = m_fragmentShader.getInputs()[varNdx]->getVariable(); in shadeFragments() 275 const tcu::Vec4 varValue = rr::readVarying<float>(packet, context, varNdx, fragNdx); in shadeFragments()
|
D | glsShaderExecUtil.cpp | 919 for (size_t varNdx = 0; varNdx < symbols.size(); varNdx++) in computeVarLayout() local 921 const Symbol& symbol = symbols[varNdx]; in computeVarLayout() 923 VarLayout& layoutEntry = (*layout)[varNdx]; in computeVarLayout()
|
/external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
D | vktSSBOLayoutCase.cpp | 753 for (int varNdx = firstVarNdx; varNdx < varIndicesEnd; varNdx++) in computeReferenceLayout() local 754 blockEntry.activeVarIndices.push_back(varNdx); in computeReferenceLayout() 834 const int varNdx = blockLayout.activeVarIndices[entryNdx]; in generateValues() local 835 const BufferVarLayoutEntry& varEntry = layout.bufferVars[varNdx]; in generateValues() 1361 const int varNdx = bufferLayout.getVariableIndex(apiName); in generateCompareSrc() local 1363 DE_ASSERT(varNdx >= 0); in generateCompareSrc() 1365 const BufferVarLayoutEntry& varLayout = bufferLayout.bufferVars[varNdx]; in generateCompareSrc() 1461 const int varNdx = bufferLayout.getVariableIndex(apiName); in generateWriteSrc() local 1463 DE_ASSERT(varNdx >= 0); in generateWriteSrc() 1465 const BufferVarLayoutEntry& varLayout = bufferLayout.bufferVars[varNdx]; in generateWriteSrc() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fTransformFeedbackTests.cpp | 470 for (int varNdx = 0; varNdx < (int)transformFeedbackVaryings.size(); varNdx++) in computeTransformFeedbackOutputs() local 472 const string& name = transformFeedbackVaryings[varNdx]; in computeTransformFeedbackOutputs() 473 int bufNdx = (bufferMode == GL_SEPARATE_ATTRIBS ? varNdx : 0); in computeTransformFeedbackOutputs() 475 Output& output = transformFeedbackOutputs[varNdx]; in computeTransformFeedbackOutputs() 1458 int varNdx = 0; in init() local 1479 std::string name = "v_var" + de::toString(varNdx); in init() 1487 varNdx += 1; in init() 1496 for (int ndx = 0; ndx < varNdx /* num varyings */; ndx++) in init()
|
D | es3fShaderCommonFunctionTests.cpp | 230 for (int varNdx = 0; varNdx < (int)symbols.size(); ++varNdx) in getInputOutputPointers() local 232 const Symbol& var = symbols[varNdx]; in getInputOutputPointers() 236 pointers[varNdx] = &data[curScalarOffset]; in getInputOutputPointers()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderCommonFunctionTests.cpp | 226 for (int varNdx = 0; varNdx < (int)symbols.size(); ++varNdx) in getInputOutputPointers() local 228 const Symbol& var = symbols[varNdx]; in getInputOutputPointers() 233 pointers[varNdx] = &data[curScalarOffset]; in getInputOutputPointers()
|
D | vktShaderIntegerFunctionTests.cpp | 181 for (int varNdx = 0; varNdx < (int)symbols.size(); ++varNdx) in getInputOutputPointers() local 183 const Symbol& var = symbols[varNdx]; in getInputOutputPointers() 187 pointers[varNdx] = &data[curScalarOffset]; in getInputOutputPointers()
|
D | vktOpaqueTypeIndexingTests.cpp | 292 for (int varNdx = 0; varNdx < numVars; varNdx++) in declareUniformIndexVars() local 293 str << "\thighp int " << varPrefix << varNdx << ";\n"; in declareUniformIndexVars()
|
D | vktShaderExecutor.cpp | 1622 for (size_t varNdx = 0; varNdx < symbols.size(); varNdx++) in computeVarLayout() local 1624 const Symbol& symbol = symbols[varNdx]; in computeVarLayout() 1626 VarLayout& layoutEntry = (*layout)[varNdx]; in computeVarLayout()
|