Home
last modified time | relevance | path

Searched refs:getMatrixRows (Results 1 – 12 of 12) sorted by relevance

/third_party/glslang/glslang/MachineIndependent/
DIntermediate.cpp405 child->getMatrixRows(), in addUnaryMath()
839 …Type(convertTo, EvqTemporary, node->getVectorSize(), node->getMatrixCols(), node->getMatrixRows()); in createConversion()
1397 …ype.getMatrixCols() != type.getMatrixCols() || sourceType.getMatrixRows() != type.getMatrixRows())… in addShapeConversion()
1398 …Type.getMatrixCols() >= type.getMatrixCols() && sourceType.getMatrixRows() >= type.getMatrixRows()) in addShapeConversion()
1402 …f (type.getVectorSize() == 4 && sourceType.getMatrixCols() == 2 && sourceType.getMatrixRows() == 2) in addShapeConversion()
1416 … if (sourceType.getVectorSize() == 4 && type.getMatrixCols() == 2 && type.getMatrixRows() == 2) in addShapeConversion()
1990 switch (type.getMatrixRows()) { in mapTypeToConstructorOp()
1998 switch (type.getMatrixRows()) { in mapTypeToConstructorOp()
2006 switch (type.getMatrixRows()) { in mapTypeToConstructorOp()
2029 switch (type.getMatrixRows()) { in mapTypeToConstructorOp()
[all …]
DparseConst.cpp88 matrixRows = node->getType().getMatrixRows(); in visitAggregate()
158 … if (r < node->getType().getMatrixRows() && c < node->getType().getMatrixCols()) { in visitConstantUnion()
159 int srcOffset = c * node->getType().getMatrixRows() + r; in visitConstantUnion()
Dreflection.cpp920 switch (type.getMatrixRows()) { in mapToGlType()
927 switch (type.getMatrixRows()) { in mapToGlType()
934 switch (type.getMatrixRows()) { in mapToGlType()
944 switch (type.getMatrixRows()) { in mapToGlType()
951 switch (type.getMatrixRows()) { in mapToGlType()
958 switch (type.getMatrixRows()) { in mapToGlType()
968 switch (type.getMatrixRows()) { in mapToGlType()
975 switch (type.getMatrixRows()) { in mapToGlType()
982 switch (type.getMatrixRows()) { in mapToGlType()
DConstant.cpp92 newComps = rightNode->getMatrixCols() * getMatrixRows(); in fold()
95 newComps = getMatrixRows(); in fold()
138 for (int row = 0; row < getMatrixRows(); row++) { in fold()
141 for (int i = 0; i < rightNode->getMatrixRows(); i++) in fold()
142 …sum += leftUnionArray[i * getMatrixRows() + row].getDConst() * rightUnionArray[column * rightNode-… in fold()
143 newConstArray[column * getMatrixRows() + row].setDConst(sum); in fold()
146 …lowCopy(TType(getType().getBasicType(), EvqConst, 0, rightNode->getMatrixCols(), getMatrixRows())); in fold()
234 for (int i = 0; i < getMatrixRows(); i++) { in fold()
237 … sum += leftUnionArray[j*getMatrixRows() + i].getDConst() * rightUnionArray[j].getDConst(); in fold()
242 returnType.shallowCopy(TType(getBasicType(), EvqConst, getMatrixRows())); in fold()
[all …]
DSymbolTable.cpp160 mangledName += static_cast<char>('0' + getMatrixRows()); in buildMangledName()
DlinkValidate.cpp2008 numComponents = type.getMatrixCols() * type.getMatrixRows(); in computeTypeXfbSize()
2207 size = stride * type.getMatrixRows(); in getBaseAlignment()
2283 size = stride * type.getMatrixRows(); in getScalarAlignment()
DParseHelper.cpp7525 memberType.matrixRows = type.getMatrixRows(); in vkRelaxedRemapUniformMembers()
/third_party/glslang/glslang/HLSL/
DhlslParseHelper.cpp991 …if (! parseMatrixSwizzleSelector(loc, field, base->getMatrixCols(), base->getMatrixRows(), selecto… in handleDotDereference()
1012 int column = getMatrixComponentsColumn(base->getMatrixRows(), selectors); in handleDotDereference()
4908 typedArg->getMatrixRows(), in decomposeIntrinsic()
4977 arg0->getType().getMatrixRows(), in decomposeIntrinsic()
4984 std::max(arg0->getType().getMatrixRows(), 1); in decomposeIntrinsic()
5387 arg0->getMatrixRows()); in decomposeIntrinsic()
5709 0, arg0->getVectorSize(), arg1->getMatrixRows()); in addGenMulArgumentConversion()
5719 if (arg1->getVectorSize() < arg0->getMatrixRows()) { in addGenMulArgumentConversion()
5724 } else if (arg1->getVectorSize() > arg0->getMatrixRows()) { in addGenMulArgumentConversion()
5727 arg0->getMatrixRows()); in addGenMulArgumentConversion()
[all …]
DhlslGrammar.cpp1389 if ((txType.getMatrixCols() * txType.getMatrixRows()) > 4) { in acceptTextureType()
/third_party/glslang/glslang/Include/
Dintermediate.h1206 virtual int getMatrixRows() const { return type.getMatrixRows(); } in getMatrixRows() function
DTypes.h1809 virtual int getMatrixRows() const { return static_cast<int>(matrixRows); } in getMatrixRows() function
/third_party/glslang/SPIRV/
DGlslangToSpv.cpp4617 spvType = builder.makeMatrixType(spvType, type.getMatrixCols(), type.getMatrixRows()); in convertGlslangToSpvType()