Home
last modified time | relevance | path

Searched refs:varNdx (Results 1 – 18 of 18) sorted by relevance

/external/deqp/modules/gles31/functional/
Des31fProgramInterfaceDefinition.cpp77 for (int varNdx = 0; varNdx < (int)decls.size(); ++varNdx) in containsMatchingSubtype() local
78 if (containsMatchingSubtype(decls[varNdx].varType, predicate)) in containsMatchingSubtype()
222 for (int varNdx = 0; varNdx < (int)m_defaultBlock.variables.size(); ++varNdx) in isValid() local
225 if (m_defaultBlock.variables[varNdx].layout.binding == -1 && in isValid()
226 containsMatchingSubtype(m_defaultBlock.variables[varNdx].varType, glu::isDataTypeAtomicCounter)) in isValid()
230 if (m_defaultBlock.variables[varNdx].varType.isStructType() && in isValid()
231 containsMatchingSubtype(m_defaultBlock.variables[varNdx].varType, glu::isDataTypeAtomicCounter)) in isValid()
236 if (m_defaultBlock.variables[varNdx].layout.matrixOrder != glu::MATRIXORDER_LAST) in isValid()
239 if (containsMatchingSubtype(m_defaultBlock.variables[varNdx].varType, glu::isDataTypeSampler)) in isValid()
241 …WithLocationAndBinding(m_defaultBlock.variables[varNdx].layout.location, m_defaultBlock.variables[ in isValid()
[all …]
Des31fProgramInterfaceDefinitionUtil.cpp745 for (int varNdx = 0; varNdx < (int)shader->getDefaultBlock().variables.size(); ++varNdx) in traverseShaderVariablePath() local
746 if (filter.matchesFilter(shader->getDefaultBlock().variables[varNdx])) in traverseShaderVariablePath()
747 if (traverseVariablePath(typePath, path, shader->getDefaultBlock().variables[varNdx])) in traverseShaderVariablePath()
766 …for (int varNdx = 0; varNdx < (int)shader->getDefaultBlock().interfaceBlocks[interfaceNdx].variabl… in traverseShaderVariablePath() local
768 …if (shader->getDefaultBlock().interfaceBlocks[interfaceNdx].variables[varNdx].name == blockMemeber… in traverseShaderVariablePath()
771 …ePath, blockMemberPath, shader->getDefaultBlock().interfaceBlocks[interfaceNdx].variables[varNdx]); in traverseShaderVariablePath()
783 …for (int varNdx = 0; varNdx < (int)shader->getDefaultBlock().interfaceBlocks[interfaceNdx].variabl… in traverseShaderVariablePath() local
785 …if (shader->getDefaultBlock().interfaceBlocks[interfaceNdx].variables[varNdx].name == blockMemeber… in traverseShaderVariablePath()
788 …blePath(typePath, path, shader->getDefaultBlock().interfaceBlocks[interfaceNdx].variables[varNdx]); in traverseShaderVariablePath()
919 …for (int varNdx = 0; varNdx < (int)shader->getDefaultBlock().interfaceBlocks[ndx].variables.size()… in accumulateShader() local
[all …]
Des31fSSBOLayoutCase.cpp720 for (int varNdx = firstVarNdx; varNdx < varIndicesEnd; varNdx++) in computeReferenceLayout() local
721 blockEntry.activeVarIndices.push_back(varNdx); in computeReferenceLayout()
796 const int varNdx = blockLayout.activeVarIndices[entryNdx]; in generateValues() local
797 const BufferVarLayoutEntry& varEntry = layout.bufferVars[varNdx]; in generateValues()
1150 const int varNdx = bufferLayout.getVariableIndex(apiName); in generateCompareSrc() local
1152 DE_ASSERT(varNdx >= 0); in generateCompareSrc()
1154 const BufferVarLayoutEntry& varLayout = bufferLayout.bufferVars[varNdx]; in generateCompareSrc()
1234 const int varNdx = bufferLayout.getVariableIndex(apiName); in generateWriteSrc() local
1236 DE_ASSERT(varNdx >= 0); in generateWriteSrc()
1238 const BufferVarLayoutEntry& varLayout = bufferLayout.bufferVars[varNdx]; in generateWriteSrc()
[all …]
Des31fOpaqueTypeIndexingTests.cpp92 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()
Des31fProgramInterfaceQueryTests.cpp1901 for (int varNdx = 0; varNdx < numActiveResources; ++varNdx) in iterate() local
1903 if (varNdx) in iterate()
1905 builder << activeVariableIndices[varNdx]; in iterate()
1914 for (int varNdx = 0; varNdx < numActiveResources; ++varNdx) in iterate() local
1921 …program.getProgram(), programMemberInterfaceValue, activeVariableIndices[varNdx], 1, &nameProp, 1,… in iterate()
1933 …program.getProgram(), programMemberInterfaceValue, activeVariableIndices[varNdx], nameLength+1, &w… in iterate()
1949 activeResourceNames[varNdx] = std::string(&nameBuffer[0], written); in iterate()
1957 for (int varNdx = 0; varNdx < numActiveResources; ++varNdx) in iterate() local
1958 builder << "\t" << activeResourceNames[varNdx] << "\n"; in iterate()
1988 for (int varNdx = 0; varNdx < (int)referenceList.size(); ++varNdx) in iterate() local
[all …]
Des31fShaderIntegerFunctionTests.cpp241 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()
Des31fSeparateShaderTests.cpp333 for (int varNdx = 0; varNdx < params.count; ++varNdx) in genVaryingInterface() local
344 const string ndxStr = de::toString(varNdx); in genVaryingInterface()
Des31fShaderCommonFunctionTests.cpp317 for (int varNdx = 0; varNdx < (int)symbols.size(); ++varNdx) in getInputOutputPointers() local
319 const Symbol& var = symbols[varNdx]; in getInputOutputPointers()
323 pointers[varNdx] = &data[curScalarOffset]; in getInputOutputPointers()
Des31fProgramInterfaceQueryTestCase.cpp1885 for (int varNdx = 0; varNdx < (int)block.variables.size(); ++varNdx) in getInterfaceBlockInteraceNameByMember() local
1887 if (block.variables[varNdx].name == memberName) in getInterfaceBlockInteraceNameByMember()
/external/deqp/modules/glshared/
DglsRandomShaderProgram.cpp222 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()
DglsShaderExecUtil.cpp918 for (size_t varNdx = 0; varNdx < symbols.size(); varNdx++) in computeVarLayout() local
920 const Symbol& symbol = symbols[varNdx]; in computeVarLayout()
922 VarLayout& layoutEntry = (*layout)[varNdx]; in computeVarLayout()
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp758 for (int varNdx = firstVarNdx; varNdx < varIndicesEnd; varNdx++) in computeReferenceLayout() local
759 blockEntry.activeVarIndices.push_back(varNdx); in computeReferenceLayout()
839 const int varNdx = blockLayout.activeVarIndices[entryNdx]; in generateValues() local
840 const BufferVarLayoutEntry& varEntry = layout.bufferVars[varNdx]; in generateValues()
1340 const int varNdx = bufferLayout.getVariableIndex(apiName); in generateCompareSrc() local
1342 DE_ASSERT(varNdx >= 0); in generateCompareSrc()
1344 const BufferVarLayoutEntry& varLayout = bufferLayout.bufferVars[varNdx]; in generateCompareSrc()
1439 const int varNdx = bufferLayout.getVariableIndex(apiName); in generateWriteSrc() local
1441 DE_ASSERT(varNdx >= 0); in generateWriteSrc()
1443 const BufferVarLayoutEntry& varLayout = bufferLayout.bufferVars[varNdx]; in generateWriteSrc()
[all …]
/external/deqp/modules/gles3/functional/
Des3fTransformFeedbackTests.cpp470 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()
1457 int varNdx = 0; in init() local
1478 std::string name = "v_var" + de::toString(varNdx); in init()
1486 varNdx += 1; in init()
1495 for (int ndx = 0; ndx < varNdx /* num varyings */; ndx++) in init()
Des3fShaderCommonFunctionTests.cpp243 for (int varNdx = 0; varNdx < (int)symbols.size(); ++varNdx) in getInputOutputPointers() local
245 const Symbol& var = symbols[varNdx]; in getInputOutputPointers()
249 pointers[varNdx] = &data[curScalarOffset]; in getInputOutputPointers()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderIntegerFunctionTests.cpp181 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()
DvktOpaqueTypeIndexingTests.cpp284 for (int varNdx = 0; varNdx < numVars; varNdx++) in declareUniformIndexVars() local
285 str << "\thighp int " << varPrefix << varNdx << ";\n"; in declareUniformIndexVars()
DvktShaderCommonFunctionTests.cpp260 for (int varNdx = 0; varNdx < (int)symbols.size(); ++varNdx) in getInputOutputPointers() local
262 const Symbol& var = symbols[varNdx]; in getInputOutputPointers()
266 pointers[varNdx] = &data[curScalarOffset]; in getInputOutputPointers()
DvktShaderExecutor.cpp1596 for (size_t varNdx = 0; varNdx < symbols.size(); varNdx++) in computeVarLayout() local
1598 const Symbol& symbol = symbols[varNdx]; in computeVarLayout()
1600 VarLayout& layoutEntry = (*layout)[varNdx]; in computeVarLayout()