Home
last modified time | relevance | path

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

/third_party/glslang/glslang/MachineIndependent/
DIntermediate.cpp406 child->getMatrixCols(), in addUnaryMath()
854 …TType newType(convertTo, EvqTemporary, node->getVectorSize(), node->getMatrixCols(), node->getMatr… in createConversion()
1412 …if ((sourceType.getMatrixCols() != type.getMatrixCols() || sourceType.getMatrixRows() != type.getM… in addShapeConversion()
1413 …sourceType.getMatrixCols() >= type.getMatrixCols() && sourceType.getMatrixRows() >= type.getMatrix… in addShapeConversion()
1417 …if (type.getVectorSize() == 4 && sourceType.getMatrixCols() == 2 && sourceType.getMatrixRows() == … in addShapeConversion()
1431 … if (sourceType.getVectorSize() == 4 && type.getMatrixCols() == 2 && type.getMatrixRows() == 2) in addShapeConversion()
2019 switch (type.getMatrixCols()) { in mapTypeToConstructorOp()
2057 if (type.getMatrixCols()) { in mapTypeToConstructorOp()
2058 switch (type.getMatrixCols()) { in mapTypeToConstructorOp()
2095 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()
248 for (int i = 0; i < rightNode->getMatrixCols(); i++) { in fold()
255 returnType.shallowCopy(TType(getBasicType(), EvqConst, rightNode->getMatrixCols())); in fold()
DParseContextBase.cpp307 if (index >= type.getMatrixCols()) { in checkIndex()
309 index = type.getMatrixCols() - 1; in checkIndex()
Dreflection.cpp920 switch (type.getMatrixCols()) { in mapToGlType()
944 switch (type.getMatrixCols()) { in mapToGlType()
968 switch (type.getMatrixCols()) { in mapToGlType()
DSymbolTable.cpp164 mangledName += static_cast<char>('0' + getMatrixCols()); in buildMangledName()
DlinkValidate.cpp1835 return type.getMatrixCols() * computeTypeLocationSize(columnType, stage); in computeTypeLocationSize()
1972 numComponents = type.getMatrixCols() * type.getMatrixRows(); in computeTypeXfbSize()
2170 size = stride * type.getMatrixCols(); in getBaseAlignment()
2246 size = stride * type.getMatrixCols(); in getScalarAlignment()
DParseHelper.cpp1791 length = type.getMatrixCols(); in handleLengthMethod()
7688 if (type.getMatrixCols() != (int)initList->getSequence().size()) { in convertInitializerList()
7693 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()
4904 typedArg->getMatrixCols(), in decomposeIntrinsic()
4973 arg0->getType().getMatrixCols(), in decomposeIntrinsic()
4980 std::max(arg0->getType().getMatrixCols(), 1) * in decomposeIntrinsic()
5383 … const TType boolType(EbtBool, EvqTemporary, arg0->getVectorSize(), arg0->getMatrixCols(), in decomposeIntrinsic()
5703 if (arg0->getVectorSize() < arg1->getMatrixCols()) { in addGenMulArgumentConversion()
5708 } else if (arg0->getVectorSize() > arg1->getMatrixCols()) { in addGenMulArgumentConversion()
5711 arg1->getMatrixCols()); in addGenMulArgumentConversion()
5719 0, arg0->getMatrixCols(), arg1->getVectorSize()); in addGenMulArgumentConversion()
5730 if (arg0->getMatrixRows() > arg1->getMatrixCols()) { in addGenMulArgumentConversion()
[all …]
DhlslGrammar.cpp1343 if ((txType.getMatrixCols() * txType.getMatrixRows()) > 4) { in acceptTextureType()
/third_party/glslang/glslang/Include/
Dintermediate.h1152 virtual int getMatrixCols() const { return type.getMatrixCols(); } in getMatrixCols() function
DTypes.h1842 virtual int getMatrixCols() const { return matrixCols; } in getMatrixCols() function
/third_party/glslang/SPIRV/
DGlslangToSpv.cpp4376 spvType = builder.makeMatrixType(spvType, type.getMatrixCols(), type.getMatrixRows()); in convertGlslangToSpvType()
9269 for (int col = 0; col < glslangType.getMatrixCols(); ++col) in createSpvConstantFromConstUnionArray()