Home
last modified time | relevance | path

Searched refs:getMatrixCols (Results 1 – 13 of 13) sorted by relevance

/third_party/glslang/glslang/MachineIndependent/
DIntermediate.cpp404 child->getMatrixCols(), in addUnaryMath()
839 …TType newType(convertTo, EvqTemporary, node->getVectorSize(), node->getMatrixCols(), node->getMatr… in createConversion()
1397 …if ((sourceType.getMatrixCols() != type.getMatrixCols() || sourceType.getMatrixRows() != type.getM… in addShapeConversion()
1398 …sourceType.getMatrixCols() >= type.getMatrixCols() && sourceType.getMatrixRows() >= type.getMatrix… in addShapeConversion()
1402 …if (type.getVectorSize() == 4 && sourceType.getMatrixCols() == 2 && sourceType.getMatrixRows() == … in addShapeConversion()
1416 … if (sourceType.getVectorSize() == 4 && type.getMatrixCols() == 2 && type.getMatrixRows() == 2) in addShapeConversion()
1988 switch (type.getMatrixCols()) { in mapTypeToConstructorOp()
2026 if (type.getMatrixCols()) { in mapTypeToConstructorOp()
2027 switch (type.getMatrixCols()) { in mapTypeToConstructorOp()
2064 if (type.getMatrixCols()) { in mapTypeToConstructorOp()
[all …]
DparseConst.cpp87 matrixCols = node->getType().getMatrixCols(); in visitAggregate()
158 … if (r < node->getType().getMatrixRows() && c < node->getType().getMatrixCols()) { in visitConstantUnion()
DConstant.cpp92 newComps = rightNode->getMatrixCols() * getMatrixRows(); in fold()
98 newComps = rightNode->getMatrixCols(); in fold()
139 for (int column = 0; column < rightNode->getMatrixCols(); column++) { in fold()
146 …e.shallowCopy(TType(getType().getBasicType(), EvqConst, 0, rightNode->getMatrixCols(), getMatrixRo… in fold()
246 for (int i = 0; i < rightNode->getMatrixCols(); i++) { in fold()
253 returnType.shallowCopy(TType(getBasicType(), EvqConst, rightNode->getMatrixCols())); in fold()
DParseContextBase.cpp303 if (index >= type.getMatrixCols()) { in checkIndex()
305 index = type.getMatrixCols() - 1; in checkIndex()
Dreflection.cpp918 switch (type.getMatrixCols()) { in mapToGlType()
942 switch (type.getMatrixCols()) { in mapToGlType()
966 switch (type.getMatrixCols()) { in mapToGlType()
DSymbolTable.cpp159 mangledName += static_cast<char>('0' + getMatrixCols()); in buildMangledName()
DlinkValidate.cpp1873 return type.getMatrixCols() * computeTypeLocationSize(columnType, stage); in computeTypeLocationSize()
2008 numComponents = type.getMatrixCols() * type.getMatrixRows(); in computeTypeXfbSize()
2209 size = stride * type.getMatrixCols(); in getBaseAlignment()
2285 size = stride * type.getMatrixCols(); in getScalarAlignment()
DParseHelper.cpp1777 length = type.getMatrixCols(); in handleLengthMethod()
7524 memberType.matrixCols = type.getMatrixCols(); in vkRelaxedRemapUniformMembers()
8161 if (type.getMatrixCols() != (int)initList->getSequence().size()) { in convertInitializerList()
8166 for (int i = 0; i < type.getMatrixCols(); ++i) { in convertInitializerList()
/third_party/glslang/glslang/HLSL/
DhlslParseHelper.cpp991 …if (! parseMatrixSwizzleSelector(loc, field, base->getMatrixCols(), base->getMatrixRows(), selecto… in handleDotDereference()
4907 typedArg->getMatrixCols(), in decomposeIntrinsic()
4976 arg0->getType().getMatrixCols(), in decomposeIntrinsic()
4983 std::max(arg0->getType().getMatrixCols(), 1) * in decomposeIntrinsic()
5386 … const TType boolType(EbtBool, EvqTemporary, arg0->getVectorSize(), arg0->getMatrixCols(), in decomposeIntrinsic()
5706 if (arg0->getVectorSize() < arg1->getMatrixCols()) { in addGenMulArgumentConversion()
5711 } else if (arg0->getVectorSize() > arg1->getMatrixCols()) { in addGenMulArgumentConversion()
5714 arg1->getMatrixCols()); in addGenMulArgumentConversion()
5722 0, arg0->getMatrixCols(), arg1->getVectorSize()); in addGenMulArgumentConversion()
5733 if (arg0->getMatrixRows() > arg1->getMatrixCols()) { in addGenMulArgumentConversion()
[all …]
DhlslGrammar.cpp1389 if ((txType.getMatrixCols() * txType.getMatrixRows()) > 4) { in acceptTextureType()
/third_party/glslang/glslang/Include/
Dintermediate.h1205 virtual int getMatrixCols() const { return type.getMatrixCols(); } in getMatrixCols() function
DTypes.h1808 virtual int getMatrixCols() const { return static_cast<int>(matrixCols); } in getMatrixCols() function
/third_party/glslang/SPIRV/
DGlslangToSpv.cpp4617 spvType = builder.makeMatrixType(spvType, type.getMatrixCols(), type.getMatrixRows()); in convertGlslangToSpvType()
9803 for (int col = 0; col < glslangType.getMatrixCols(); ++col) in createSpvConstantFromConstUnionArray()