Home
last modified time | relevance | path

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

12345

/third_party/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()
1293 if (lhsNode->isMatrix() && rhsNode->isMatrix()) in addBiShapeConversion()
1381 if (sourceType.isScalarOrVec1() && type.isMatrix()) { in addShapeConversion()
1409 if (sourceType.isMatrix()) { in addShapeConversion()
1411 if (type.isMatrix()) { in addShapeConversion()
1430 } else if (type.isMatrix()) { in addShapeConversion()
2018 if (type.isMatrix()) { in mapTypeToConstructorOp()
3420 if (left->getBasicType() != EbtBool || left->isMatrix()) in promoteBinary()
3452 if (left->isMatrix() || right->isMatrix()) in promoteBinary()
3573 if (!left->isMatrix() && right->isMatrix()) { in promoteBinary()
[all …]
/third_party/skia/third_party/externals/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 …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DConvertUnsupportedConstructorsToFunctionCalls.cpp50 else if (type.isMatrix()) in AppendScalarFromNonScalarArguments()
102 else if (parameter->isMatrix()) in AppendValuesFromMultipleArguments()
195 if (!type.isScalar() && !type.isVector() && !type.isMatrix()) in visitAggregatePost()
228 arguments.size() == 1 && type.isMatrix() && arg0Type.isMatrix() && in visitAggregatePost()
280 else if (type.isMatrix()) in visitAggregatePost()
287 else if (arg0Type.isMatrix()) in visitAggregatePost()
/third_party/skia/src/sksl/ir/
DSkSLConstructorCompoundCast.cpp38 if (constCtor->is<ConstructorDiagonalMatrix>() && destType.isMatrix()) { in cast_constant_composite()
73 SkASSERT(type.isVector() || type.isMatrix()); in Make()
76 SkASSERT(arg->type().isMatrix() == type.isMatrix()); in Make()
DSkSLConstructor.cpp29 SkASSERT(type.isVector() || type.isMatrix()); in convert_compound_constructor()
67 return type.isMatrix() in convert_compound_constructor()
76 } else if (argument->type().isMatrix()) { in convert_compound_constructor()
79 if (type.isMatrix()) { in convert_compound_constructor()
162 if (type.isVector() || type.isMatrix()) { in Convert()
DSkSLIndexExpression.cpp32 if (type.isMatrix()) { in IndexType()
68 if (!baseType.isArray() && !baseType.isMatrix() && !baseType.isVector()) { in Convert()
94 SkASSERT(baseType.isArray() || baseType.isMatrix() || baseType.isVector()); in Make()
120 if (baseType.isMatrix() && !base->hasSideEffects()) { in Make()
DSkSLConstructorCompound.cpp31 SkASSERT(type.isVector() || type.isMatrix()); in Make()
34 return (argType.isScalar() || argType.isVector() || argType.isMatrix()) && in Make()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DProgramPrelude.cpp3514 if (argType0->isMatrix() && argType1->isMatrix()) in visitOperator()
3539 if (argType0->isMatrix() && argType1->isMatrix()) in visitOperator()
3587 if (argType0->isMatrix() && argType1->isScalar()) in visitOperator()
3594 if (argType0->isMatrix() && argType1->isScalar()) in visitOperator()
3601 if (argType0->isMatrix() && argType1->isScalar()) in visitOperator()
3608 if (argType0->isMatrix() && argType1->isScalar()) in visitOperator()
3615 if (argType0->isMatrix()) in visitOperator()
3617 if (argType1->isMatrix()) in visitOperator()
3629 if (argType0->isMatrix() && argType1->isMatrix()) in visitOperator()
3636 if (argType0->isMatrix() && argType1->isMatrix()) in visitOperator()
[all …]
DAddExplicitTypeCasts.cpp67 else if (retType.isMatrix()) in visitAggregatePost()
73 if (argType.isMatrix()) in visitAggregatePost()
/third_party/skia/src/sksl/codegen/
DSkSLMetalCodeGenerator.cpp452 if (type.isMatrix() && type.rows() == type.columns()) { in getInversePolyfill()
1066 if (args.size() == 1 && args.front()->type().isMatrix()) { in getMatrixConstructHelper()
1077 SkASSERT(c.type().isMatrix()); in matrixConstructHelperIsNeeded()
1103 if (expr->type().isMatrix()) { in matrixConstructHelperIsNeeded()
1134 } else if (c.type().isMatrix()) { in writeConstructorCompound()
1173 SkASSERT(matrixType.isMatrix()); in getVectorFromMat2x2ConstructorHelper()
1200 if (expr.type().isMatrix()) { in writeConstructorCompoundVector()
1214 SkASSERT(c.type().isMatrix()); in writeConstructorCompoundMatrix()
1381 SkASSERT(left.isMatrix()); in writeMatrixTimesEqualHelper()
1382 SkASSERT(right.isMatrix()); in writeMatrixTimesEqualHelper()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DStructureHLSL.cpp119 if (type.getBasicType() == EbtStruct || type.isMatrix() || type.isArray()) in prePadding()
170 if (!type.isMatrix() && !type.isArray() && type.getBasicType() != EbtStruct) in postPaddingString()
178 if (type.isMatrix()) in postPaddingString()
387 if (ctorType.isMatrix() && ctorParameters.size() == 1) in addBuiltInConstructor()
408 else if (parameter.isMatrix()) in addBuiltInConstructor()
487 else if (parameter.isMatrix()) in addBuiltInConstructor()
DTypes.h170 ASSERT(isMatrix()); in getCols()
175 ASSERT(isMatrix()); in getRows()
187 bool isMatrix() const { return primarySize > 1 && secondarySize > 1; } in isMatrix() function
188 bool isNonSquareMatrix() const { return isMatrix() && primarySize != secondarySize; } in isNonSquareMatrix()
410 bool isMatrix() const { return primarySize > 1 && secondarySize > 1; } in isMatrix() function
DVersionGLSL.cpp129 if (node->getOp() == EOpConstruct && node->getType().isMatrix()) in visitAggregate()
135 if (typed && typed->isMatrix()) in visitAggregate()
/third_party/skia/third_party/externals/angle2/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()
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()
455 bool isMatrix() const { return primarySize > 1 && secondarySize > 1; } in isMatrix() function
DVersionGLSL.cpp136 if (node->getOp() == EOpConstruct && node->getType().isMatrix()) in visitAggregate()
142 if (typed && typed->isMatrix()) in visitAggregate()
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()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/perf_tests/
DUniformsPerf.cpp189 bool isMatrix; in initializeBenchmark() local
194 isMatrix = true; in initializeBenchmark()
199 isMatrix = true; in initializeBenchmark()
203 isMatrix = true; in initializeBenchmark()
207 isMatrix = false; in initializeBenchmark()
233 if (isMatrix) in initializeBenchmark()
/third_party/skia/third_party/externals/angle2/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()
/third_party/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()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DIntermNodePatternMatcher.cpp28 if (node && node->isMatrix()) in ContainsMatrixNode()
149 else if (node->getType().isMatrix() && ContainsVectorNode(*(node->getSequence()))) in match()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DIntermNodePatternMatcher.cpp28 if (node && node->isMatrix()) in ContainsMatrixNode()
158 else if (node->getType().isMatrix() && ContainsVectorNode(*(node->getSequence()))) in match()

12345