Home
last modified time | relevance | path

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

/external/deqp/modules/gles31/functional/
Des31fProgramInterfaceDefinition.cpp83 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 …]
Des31fProgramInterfaceDefinitionUtil.cpp772 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 …]
Des31fSSBOLayoutCase.cpp715 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 …]
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.cpp1908 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 …]
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.cpp305 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()
Des31fProgramInterfaceQueryTestCase.cpp1886 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/
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.cpp919 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/
DvktSSBOLayoutCase.cpp753 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/
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()
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()
Des3fShaderCommonFunctionTests.cpp230 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/
DvktShaderCommonFunctionTests.cpp226 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()
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.cpp292 for (int varNdx = 0; varNdx < numVars; varNdx++) in declareUniformIndexVars() local
293 str << "\thighp int " << varPrefix << varNdx << ";\n"; in declareUniformIndexVars()
DvktShaderExecutor.cpp1622 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()