Home
last modified time | relevance | path

Searched refs:isMatrix (Results 1 – 25 of 106) sorted by relevance

12345

/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
DparseConst.cpp48 …nstructorType(constructType), singleConstantParam(singleConstParam), error(false), isMatrix(false), in TConstTraverser()
62 bool isMatrix; member in glslang::TConstTraverser
85 if (node->getType().isMatrix()) { in visitAggregate()
86 isMatrix = true; in visitAggregate()
105 isMatrix = false; in visitAggregate()
135 if (! isMatrix) { in visitConstantUnion()
151 if (node->isMatrix()) { in visitConstantUnion()
DIntermediate.cpp367 …if (child->getType().getBasicType() != EbtBool || child->getType().isMatrix() || child->getType().… in addUnaryMath()
1289 if (lhsNode->isMatrix() && rhsNode->isMatrix()) in addBiShapeConversion()
1377 if (sourceType.isScalarOrVec1() && type.isMatrix()) { in addShapeConversion()
1405 if (sourceType.isMatrix()) { in addShapeConversion()
1407 if (type.isMatrix()) { in addShapeConversion()
1426 } else if (type.isMatrix()) { in addShapeConversion()
2014 if (type.isMatrix()) { in mapTypeToConstructorOp()
3410 if (left->getBasicType() != EbtBool || left->isMatrix()) in promoteBinary()
3442 if (left->isMatrix() || right->isMatrix()) in promoteBinary()
3563 if (!left->isMatrix() && right->isMatrix()) { in promoteBinary()
[all …]
/external/deqp-deps/glslang/glslang/MachineIndependent/
DparseConst.cpp48 …nstructorType(constructType), singleConstantParam(singleConstParam), error(false), isMatrix(false), in TConstTraverser()
62 bool isMatrix; member in glslang::TConstTraverser
85 if (node->getType().isMatrix()) { in visitAggregate()
86 isMatrix = true; in visitAggregate()
105 isMatrix = false; in visitAggregate()
135 if (! isMatrix) { in visitConstantUnion()
151 if (node->isMatrix()) { in visitConstantUnion()
DIntermediate.cpp367 …if (child->getType().getBasicType() != EbtBool || child->getType().isMatrix() || child->getType().… in addUnaryMath()
1289 if (lhsNode->isMatrix() && rhsNode->isMatrix()) in addBiShapeConversion()
1377 if (sourceType.isScalarOrVec1() && type.isMatrix()) { in addShapeConversion()
1405 if (sourceType.isMatrix()) { in addShapeConversion()
1407 if (type.isMatrix()) { in addShapeConversion()
1426 } else if (type.isMatrix()) { in addShapeConversion()
2014 if (type.isMatrix()) { in mapTypeToConstructorOp()
3410 if (left->getBasicType() != EbtBool || left->isMatrix()) in promoteBinary()
3442 if (left->isMatrix() || right->isMatrix()) in promoteBinary()
3563 if (!left->isMatrix() && right->isMatrix()) { in promoteBinary()
[all …]
/external/swiftshader/src/OpenGL/compiler/
DTypes.h328 else if(isMatrix()) in getElementSize()
370 else if(isMatrix()) in elementRegisterCount()
424 return isMatrix() ? secondarySize : primarySize; in registerSize()
427 bool isMatrix() const { return secondarySize > 1; } in isMatrix() function
446 bool isVector() const { return primarySize > 1 && !isMatrix(); } in isVector()
447 …bool isScalar() const { return primarySize == 1 && !isMatrix() && !structure && !isInterfaceBlock(… in isScalar()
448 …bool isRegister() const { return !isMatrix() && !structure && !array && !isInterfaceBlock(); } /… in isRegister()
640 bool isMatrix() const in isMatrix() function
652 ASSERT(isMatrix()); in getCols()
658 ASSERT(isMatrix()); in getRows()
[all …]
DparseConst.cpp32 isMatrix(false), in TConstTraverser()
55 bool isMatrix; member in TConstTraverser
125 if (node->getType().isMatrix()) { in visitAggregate()
126 isMatrix = true; in visitAggregate()
144 isMatrix = false; in visitAggregate()
187 if (!isMatrix) { in visitConstantUnion()
DIntermediate.cpp70 if(type.isMatrix()) in TypeToConstructorOperator()
341 …if (left->isMatrix() || left->isArray() || left->isVector() || left->getBasicType() == EbtStruct) { in addBinaryMath()
348 if (left->getBasicType() != EbtBool || left->isMatrix() || left->isArray() || left->isVector()) { in addBinaryMath()
355 if (!IsInteger(left->getBasicType()) || left->isMatrix() || left->isArray()) { in addBinaryMath()
482 …if (!IsInteger(child->getType().getBasicType()) || child->getType().isMatrix() || child->getType()… in addUnaryMath()
488 …if (child->getType().getBasicType() != EbtBool || child->getType().isMatrix() || child->getType().… in addUnaryMath()
498 if (!child->getType().isScalar() && !child->getType().isVector() && !child->getType().isMatrix()) in addUnaryMath()
1015 if (!left->isMatrix() && right->isMatrix()) { in promote()
1027 } else if (left->isMatrix() && !right->isMatrix()) { in promote()
1035 } else if (left->isMatrix() && right->isMatrix()) { in promote()
[all …]
DSymbolTable.cpp52 if (isMatrix()) in buildMangledName()
86 if(isMatrix()) { in buildMangledName()
/external/skia/src/sksl/ir/
DSkSLConstructor.cpp30 SkASSERT(type.isVector() || type.isMatrix()); in convert_compound_constructor()
44 return type.isMatrix() in convert_compound_constructor()
53 } else if (argument->type().isMatrix()) { in convert_compound_constructor()
56 if (type.isMatrix()) { in convert_compound_constructor()
123 if (type.isVector() || type.isMatrix()) { in Convert()
DSkSLConstructorCompoundCast.cpp72 SkASSERT(type.isVector() || type.isMatrix()); in Make()
74 SkASSERT(arg->type().isMatrix() == type.isMatrix()); in Make()
DSkSLIndexExpression.cpp15 if (type.isMatrix()) { in IndexType()
40 if (!baseType.isArray() && !baseType.isMatrix() && !baseType.isVector()) { in Convert()
71 SkASSERT(baseType.isArray() || baseType.isMatrix() || baseType.isVector()); in Make()
DSkSLConstructorCompound.cpp28 SkASSERT(type.isVector() || type.isMatrix()); in Make()
31 return (argType.isScalar() || argType.isVector() || argType.isMatrix()) && in Make()
DSkSLConstructorDiagonalMatrix.cpp19 SkASSERT(type.isMatrix()); in Make()
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DProgramPrelude.cpp3468 if (argType0->isMatrix() && argType1->isMatrix()) in visitOperator()
3493 if (argType0->isMatrix() && argType1->isMatrix()) in visitOperator()
3535 if (argType0->isMatrix() && argType1->isScalar()) in visitOperator()
3542 if (argType0->isMatrix() && argType1->isScalar()) in visitOperator()
3549 if (argType0->isMatrix() && argType1->isScalar()) in visitOperator()
3556 if (argType0->isMatrix() && argType1->isScalar()) in visitOperator()
3563 if (argType0->isMatrix()) in visitOperator()
3565 if (argType1->isMatrix()) in visitOperator()
3577 if (argType0->isMatrix() && argType1->isMatrix()) in visitOperator()
3584 if (argType0->isMatrix() && argType1->isMatrix()) in visitOperator()
[all …]
DAddExplicitTypeCasts.cpp61 else if (retType.isMatrix()) in visitAggregatePost()
67 if (argType.isMatrix()) in visitAggregatePost()
DAstHelpers.cpp246 ASSERT(type.isArray() || type.isVector() || type.isMatrix()); in AccessIndex()
346 ASSERT(matrixType.isMatrix()); in DropColumns()
392 ASSERT(matrixType.isMatrix()); in SetMatrixRowDim()
402 if (type.isMatrix()) in HasMatrixField()
/external/angle/src/compiler/translator/
DStructureHLSL.cpp130 if (type.getBasicType() == EbtStruct || type.isMatrix() || type.isArray()) in prePadding()
213 if (!type.isMatrix() && !type.isArray() && type.getBasicType() != EbtStruct) in postPaddingString()
243 if (type.isMatrix()) in postPaddingString()
463 if (ctorType.isMatrix() && ctorParameters.size() == 1) in addBuiltInConstructor()
484 else if (parameter.isMatrix()) in addBuiltInConstructor()
563 else if (parameter.isMatrix()) in addBuiltInConstructor()
DVersionGLSL.cpp136 if (node->getOp() == EOpConstruct && node->getType().isMatrix()) in visitAggregate()
142 if (typed && typed->isMatrix()) in visitAggregate()
DTypes.h181 ASSERT(isMatrix()); in getCols()
186 ASSERT(isMatrix()); in getRows()
198 bool isMatrix() const { return primarySize > 1 && secondarySize > 1; } in isMatrix() function
199 bool isNonSquareMatrix() const { return isMatrix() && primarySize != secondarySize; } in isNonSquareMatrix()
453 bool isMatrix() const { return primarySize > 1 && secondarySize > 1; } in isMatrix() function
DValidateVaryingLocations.cpp39 else if (fieldType->isMatrix()) in GetFieldLocationCount()
99 ASSERT(varyingType.isMatrix() || varyingType.getSecondarySize() == 1); in GetLocationCount()
100 int elementLocationCount = varyingType.isMatrix() ? varyingType.getNominalSize() : 1; in GetLocationCount()
/external/angle/src/tests/perf_tests/
DUniformsPerf.cpp192 bool isMatrix; in initializeBenchmark() local
197 isMatrix = true; in initializeBenchmark()
202 isMatrix = true; in initializeBenchmark()
206 isMatrix = true; in initializeBenchmark()
210 isMatrix = false; in initializeBenchmark()
236 if (isMatrix) in initializeBenchmark()
/external/skia/src/sksl/
DSkSLOperators.cpp237 if (left.isMatrix()) { in isMatrixMultiply()
238 return right.isMatrix() || right.isVector(); in isMatrixMultiply()
240 return left.isVector() && right.isMatrix(); in isMatrixMultiply()
339 bool leftIsVectorOrMatrix = left.isVector() || left.isMatrix(); in determineBinaryType()
356 bool rightIsVectorOrMatrix = right.isVector() || right.isMatrix(); in determineBinaryType()
/external/angle/src/compiler/translator/tree_util/
DIntermNodePatternMatcher.cpp28 if (node && node->isMatrix()) in ContainsMatrixNode()
158 else if (node->getType().isMatrix() && ContainsVectorNode(*(node->getSequence()))) in match()
/external/skia/src/sksl/dsl/
DDSLType.cpp50 bool DSLType::isMatrix() const { in isMatrix() function in SkSL::dsl::DSLType
51 return this->skslType().isMatrix(); in isMatrix()
/external/angle/src/compiler/translator/tree_ops/
DScalarizeVecAndMatConstructorArgs.cpp90 ASSERT(node->getType().isMatrix()); in visitAggregate()
160 ASSERT(originalArg->isMatrix()); in scalarizeArgs()

12345