Home
last modified time | relevance | path

Searched refs:getOutermostArraySize (Results 1 – 22 of 22) sorted by relevance

/device/generic/vulkan-cereal/third-party/angle/src/compiler/translator/tree_util/
DReplaceClipDistanceVariable.cpp205 clipDistanceType->makeArray(redeclaredGLClipDistance->getType().getOutermostArraySize()); in ReplaceClipDistanceAssignments()
209 ASSERT(maxConstIndex < glClipDistanceVar->getType().getOutermostArraySize()); in ReplaceClipDistanceAssignments()
215 clipDistanceType->makeArray(glClipDistanceVar->getType().getOutermostArraySize()); in ReplaceClipDistanceAssignments()
281 for (unsigned int i = 0; i < clipDistanceType->getOutermostArraySize(); ++i) in ReplaceClipDistanceAssignments()
291 for (unsigned int i = 0; i < clipDistanceType->getOutermostArraySize(); ++i) in ReplaceClipDistanceAssignments()
DIntermNode_util.cpp96 size_t arraySize = type.getOutermostArraySize(); in CreateZeroNode()
/device/generic/vulkan-cereal/third-party/angle/src/compiler/translator/tree_ops/
DInitializeVariables.cpp92 for (unsigned int i = 0; i < initializedNode->getOutermostArraySize(); ++i) in AddArrayZeroInitStatementList()
115 TIntermConstantUnion *arraySizeNode = CreateIndexNode(initializedNode->getOutermostArraySize()); in AddArrayZeroInitForLoop()
143 bool isSmallArray = initializedNode->getOutermostArraySize() <= 1u || in AddArrayZeroInitSequence()
146 initializedNode->getOutermostArraySize() <= 3u); in AddArrayZeroInitSequence()
DRemoveArrayLengthMethod.cpp61 constArray->setIConst(node->getOperand()->getOutermostArraySize()); in visitUnary()
DUseInterfaceBlockFields.cpp30 for (unsigned int i = 0u; i < node->getOutermostArraySize(); ++i) in AddNodeUseStatements()
/device/generic/vulkan-cereal/third-party/angle/src/compiler/translator/
DResourcesHLSL.cpp88 for (unsigned int i = 0u; i < type.getOutermostArraySize(); ++i) in OutputUniformIndexArrayInitializer()
665 instanceVariable->getType().getOutermostArraySize(); in uniformBlocksHeader()
690 unsigned int instanceArraySize = instanceVariable->getType().getOutermostArraySize(); in uniformBlocksHeader()
724 unsigned int instanceArraySize = instanceVariable->getType().getOutermostArraySize(); in shaderStorageBlocksHeader()
896 fieldType.getOutermostArraySize() >= kMinArraySizeUseStructuredBuffer; in shouldTranslateUniformBlockToStructuredBuffer()
DOutputHLSL.cpp502 for (unsigned int arrayIndex = 0u; arrayIndex < type.getOutermostArraySize(); ++arrayIndex) in structInitializerString()
509 if (arrayIndex < type.getOutermostArraySize() - 1) in structInitializerString()
573 instanceCount = mappedStruct.blockDeclarator->getOutermostArraySize(); in generateStructMapping()
3515 << type.getOutermostArraySize() in addArrayEqualityFunction()
3564 << type.getOutermostArraySize() in addArrayAssignmentFunction()
3608 for (unsigned int i = 0u; i < type.getOutermostArraySize(); ++i) in addArrayConstructIntoFunction()
3615 for (unsigned int i = 0u; i < type.getOutermostArraySize(); ++i) in addArrayConstructIntoFunction()
DShaderVars.cpp159 flattenedOffsetInParentArrays = arrayIndex + getOutermostArraySize() * parentArrayIndex(); in indexIntoArray()
187 return getOutermostArraySize(); in getBasicTypeElementCount()
Dblocklayout.cpp418 mArraySizeStack.push_back(arrayVar.getOutermostArraySize()); in enterArray()
540 mTopLevelArraySize = arrayVar.getOutermostArraySize(); in enterArrayElement()
DValidateOutputs.cpp102 static_cast<size_t>(type.isArray() ? type.getOutermostArraySize() : 1u); in validate()
DIntermNode.h175 unsigned int getOutermostArraySize() const { return getType().getOutermostArraySize(); } in getOutermostArraySize() function
DParseContext.cpp756 if (static_cast<size_t>(type.getOutermostArraySize()) != arguments.size()) in checkConstructorArguments()
1210 else if (static_cast<int>(type->getOutermostArraySize()) == in declareVariable()
1240 else if (static_cast<int>(type->getOutermostArraySize()) <= in declareVariable()
2506 if (type->isArray() && type->getOutermostArraySize() == 0u) in checkGeometryShaderInputAndSetArraySize()
2514 symbolTable.getGlInVariableWithArraySize()->getType().getOutermostArraySize()); in checkGeometryShaderInputAndSetArraySize()
2529 setGeometryShaderInputArraySize(type->getOutermostArraySize(), location); in checkGeometryShaderInputAndSetArraySize()
3742 if (type.getOutermostArraySize() == 0u) in addConstructor()
4233 baseExpression->getOutermostArraySize(), in addIndexExpression()
DTypes.h204 unsigned int getOutermostArraySize() const in getOutermostArraySize() function
DSymbolTable.cpp166 return mGlInVariableWithArraySize->getType().getOutermostArraySize() == inputArraySize; in setGlInArraySize()
DTypes.cpp713 for (unsigned int arrayIndex = 0u; arrayIndex < getOutermostArraySize(); ++arrayIndex) in createSamplerSymbols()
DCollectVariables.cpp779 interfaceBlockType.isArray() ? interfaceBlockType.getOutermostArraySize() : 0; in recordInterfaceBlock()
DIntermNode.cpp732 constArray = new TConstantUnion[elementSize * getOutermostArraySize()]; in getConstantValue()
1756 ASSERT(index < static_cast<int>(type.getOutermostArraySize())); in FoldIndexing()
1961 constArray->setIConst(mOperand->getOutermostArraySize()); in fold()
DOutputGLSLBase.cpp640 maxSize = static_cast<int>(leftType.getOutermostArraySize()) - 1; in visitBinary()
/device/generic/vulkan-cereal/third-party/angle/include/GLSLANG/
DShaderVars.h87 unsigned int getOutermostArraySize() const { return isArray() ? arraySizes.back() : 0; } in getOutermostArraySize() function
/device/generic/vulkan-cereal/third-party/angle/src/libANGLE/
DProgramExecutable.h92 return (isArray() && arrayIndex == GL_INVALID_INDEX ? getOutermostArraySize() : 1); in size()
DProgram.cpp4308 if (!subscripts.empty() && subscripts[0] >= var->getOutermostArraySize()) in linkValidateTransformFeedback()
4313 elementCount = (subscripts.empty() ? var->getOutermostArraySize() : 1); in linkValidateTransformFeedback()
4725 arrayIndex >= outputVariable.getOutermostArraySize()) in linkOutputVariables()
/device/generic/vulkan-cereal/third-party/angle/src/libANGLE/renderer/gl/
DProgramGL.cpp334 ASSERT(output.isArray() && output.getOutermostArraySize() == 1); in link()