Home
last modified time | relevance | path

Searched refs:getNumDims (Results 1 – 7 of 7) sorted by relevance

/third_party/glslang/glslang/Include/
DTypes.h1593 … if (p.isCoopmatNV() && p.typeParameters && p.typeParameters->arraySizes->getNumDims() > 0) { in TType()
1612 … if (p.isCoopmatKHR() && p.typeParameters && p.typeParameters->arraySizes->getNumDims() > 0) { in TType()
1615 if (p.typeParameters->arraySizes->getNumDims() == 4) { in TType()
1640 if (type.getArraySizes()->getNumDims() == 1) {
1813 bool isArrayOfArrays() const { return arraySizes != nullptr && arraySizes->getNumDims() > 1; } in isArrayOfArrays()
2360 for (int i = 0; i < (int)arraySizes->getNumDims(); ++i) {
2382 for (int i = 0; i < (int)arraySizes->getNumDims(); ++i) {
2409 for (int i = 0; i < (int)typeParameters->arraySizes->getNumDims(); ++i) {
2411 if (i != (int)typeParameters->arraySizes->getNumDims() - 1)
2756 for (int i = firstArrayDimToCompare; i < typeParameters->arraySizes->getNumDims(); ++i) { in sameCoopMatShapeAndUse()
Darrays.h248 int getNumDims() const { return sizes.size(); } in getNumDims() function
/third_party/glslang/glslang/MachineIndependent/
DParseHelper.cpp607 assert(arraySizes.getNumDims() == 2); in handleBracketDereference()
3622 … arraySizes.getNumDims() != function[0].type->getArraySizes()->getNumDims() + 1) { in constructorError()
3630 for (int d = 1; d < arraySizes.getNumDims(); ++d) { in constructorError()
4580 if (sizes == nullptr || sizes->getNumDims() == 1) in arrayOfArrayVersionCheck()
5082 if (oldType.getArraySizes()->getNumDims() != newType.getArraySizes()->getNumDims()) in redeclareBuiltinBlock()
5086 else if (newType.getArraySizes()->getNumDims() == 2) { in redeclareBuiltinBlock()
5153 …rray() && arraySizes != nullptr && type.getArraySizes()->getNumDims() != arraySizes->getNumDims())) in redeclareBuiltinBlock()
6429 if (arraySizes->getNumDims() > (currentBlockQualifier.isArrayedIo(language) ? 1 : 0)) in layoutMemberLocationArrayCheck()
7358 if (publicType.typeParameters->arraySizes->getNumDims() != 4) { in coopMatTypeParametersCheck()
7457 std::vector<int> indices(type.getArraySizes()->getNumDims()); in ForEachOpaque()
[all …]
DSymbolTable.cpp166 for (int i = 0; i < arraySizes->getNumDims(); ++i) { in buildMangledName()
DlinkValidate.cpp869 ? symbol.getArraySizes()->getNumDims() : 0; in mergeErrorCheck()
872 ? unitSymbol.getArraySizes()->getNumDims() : 0; in mergeErrorCheck()
/third_party/glslang/glslang/HLSL/
DhlslParseHelper.cpp2673 …t int internalArrayDims = internalNode->getType().isArray() ? internalArraySizes->getNumDims() : 0; in assignClipCullDistance()
6674 arraySizes.getNumDims() != function[0].type->getArraySizes()->getNumDims() + 1) { in constructorError()
6682 for (int d = 1; d < arraySizes.getNumDims(); ++d) { in constructorError()
8183 initializer->getType().getArraySizes()->getNumDims() == in executeInitializer()
8184 variable->getType().getArraySizes()->getNumDims()) { in executeInitializer()
8186 for (int d = 1; d < variable->getType().getArraySizes()->getNumDims(); ++d) { in executeInitializer()
8287 …arrayType.getArraySizes()->getNumDims() == firstInit->getType().getArraySizes()->getNumDims() + 1)… in convertInitializerList()
8288 for (int d = 1; d < arrayType.getArraySizes()->getNumDims(); ++d) { in convertInitializerList()
/third_party/glslang/SPIRV/
DGlslangToSpv.cpp4664 if (type.getArraySizes()->getNumDims() > 1) { in convertGlslangToSpvType()
4670 while (simpleArrayType.getArraySizes()->getNumDims() > 1) in convertGlslangToSpvType()
4679 for (int dim = type.getArraySizes()->getNumDims() - 1; dim > 0; --dim) { in convertGlslangToSpvType()