/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/ |
D | parseConst.cpp | 48 …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()
|
D | Intermediate.cpp | 367 …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/ |
D | parseConst.cpp | 48 …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()
|
D | Intermediate.cpp | 367 …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/ |
D | Types.h | 328 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 …]
|
D | parseConst.cpp | 32 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()
|
D | Intermediate.cpp | 70 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 …]
|
D | SymbolTable.cpp | 52 if (isMatrix()) in buildMangledName() 86 if(isMatrix()) { in buildMangledName()
|
/external/skia/src/sksl/ir/ |
D | SkSLConstructor.cpp | 30 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()
|
D | SkSLConstructorCompoundCast.cpp | 72 SkASSERT(type.isVector() || type.isMatrix()); in Make() 74 SkASSERT(arg->type().isMatrix() == type.isMatrix()); in Make()
|
D | SkSLIndexExpression.cpp | 15 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()
|
D | SkSLConstructorCompound.cpp | 28 SkASSERT(type.isVector() || type.isMatrix()); in Make() 31 return (argType.isScalar() || argType.isVector() || argType.isMatrix()) && in Make()
|
D | SkSLConstructorDiagonalMatrix.cpp | 19 SkASSERT(type.isMatrix()); in Make()
|
/external/angle/src/compiler/translator/TranslatorMetalDirect/ |
D | ProgramPrelude.cpp | 3468 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 …]
|
D | AddExplicitTypeCasts.cpp | 61 else if (retType.isMatrix()) in visitAggregatePost() 67 if (argType.isMatrix()) in visitAggregatePost()
|
D | AstHelpers.cpp | 246 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/ |
D | StructureHLSL.cpp | 130 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()
|
D | VersionGLSL.cpp | 136 if (node->getOp() == EOpConstruct && node->getType().isMatrix()) in visitAggregate() 142 if (typed && typed->isMatrix()) in visitAggregate()
|
D | Types.h | 181 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
|
D | ValidateVaryingLocations.cpp | 39 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/ |
D | UniformsPerf.cpp | 192 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/ |
D | SkSLOperators.cpp | 237 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/ |
D | IntermNodePatternMatcher.cpp | 28 if (node && node->isMatrix()) in ContainsMatrixNode() 158 else if (node->getType().isMatrix() && ContainsVectorNode(*(node->getSequence()))) in match()
|
/external/skia/src/sksl/dsl/ |
D | DSLType.cpp | 50 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/ |
D | ScalarizeVecAndMatConstructorArgs.cpp | 90 ASSERT(node->getType().isMatrix()); in visitAggregate() 160 ASSERT(originalArg->isMatrix()); in scalarizeArgs()
|