Home
last modified time | relevance | path

Searched refs:kMatrix_Kind (Results 1 – 8 of 8) sorted by relevance

/external/skia/src/sksl/
DSkSLMemoryLayout.h52 case Type::kMatrix_Kind: in alignment()
78 case Type::kMatrix_Kind: // fall through in stride()
100 case Type::kMatrix_Kind: // fall through in size()
DSkSLIRGenerator.cpp935 if (left.kind() == Type::kMatrix_Kind) { in is_matrix_multiply()
936 return right.kind() == Type::kMatrix_Kind || right.kind() == Type::kVector_Kind; in is_matrix_multiply()
938 return left.kind() == Type::kVector_Kind && right.kind() == Type::kMatrix_Kind; in is_matrix_multiply()
1043 bool isVectorOrMatrix = left.kind() == Type::kVector_Kind || left.kind() == Type::kMatrix_Kind; in determine_binary_type()
1056 if ((left.kind() == Type::kVector_Kind || left.kind() == Type::kMatrix_Kind) && in determine_binary_type()
1185 if (left.fType.kind() == Type::kMatrix_Kind && in constantFold()
1186 right.fType.kind() == Type::kMatrix_Kind && in constantFold()
1507 case Type::kMatrix_Kind: in component_count()
1518 ASSERT(type.kind() == Type::kVector_Kind || type.kind() == Type::kMatrix_Kind); in convertCompoundConstructor()
1519 if (type.kind() == Type::kMatrix_Kind && args.size() == 1 && in convertCompoundConstructor()
[all …]
DSkSLSPIRVCodeGenerator.cpp1017 if (type.fields()[i].fType->kind() == Type::kMatrix_Kind) { in writeStruct()
1062 case Type::kMatrix_Kind: in getType()
1580 ASSERT(c.fType.kind() == Type::kMatrix_Kind); in writeMatrixConstructor()
1592 } else if (arguments.size() == 1 && c.fArguments[0]->fType.kind() == Type::kMatrix_Kind) { in writeMatrixConstructor()
1669 case Type::kMatrix_Kind: in writeConstructor()
2062 ASSERT(operandType.kind() == Type::kMatrix_Kind); in writeMatrixComparison()
2153 } else if (b.fLeft->fType.kind() == Type::kMatrix_Kind) { in writeBinaryExpression()
2155 if (b.fRight->fType.kind() == Type::kMatrix_Kind) { in writeBinaryExpression()
2171 } else if (b.fRight->fType.kind() == Type::kMatrix_Kind) { in writeBinaryExpression()
2196 if (operandType->kind() == Type::kMatrix_Kind) { in writeBinaryExpression()
[all …]
DSkSLCPPCodeGenerator.cpp553 if (param->fType.kind() != Type::kMatrix_Kind) { in writeGetKey()
/external/skia/src/sksl/ir/
DSkSLType.h46 kMatrix_Kind, enumerator
105 , fTypeKind(kMatrix_Kind) in Type()
185 fTypeKind == kMatrix_Kind || fTypeKind == kArray_Kind); in columns()
DSkSLConstructor.h98 ASSERT(fType.kind() == Type::kMatrix_Kind); in compareConstant()
162 ASSERT(fType.kind() == Type::kMatrix_Kind); in getMatComponent()
173 if (fArguments[0]->fType.kind() == Type::kMatrix_Kind) { in getMatComponent()
DSkSLIndexExpression.h21 if (type.kind() == Type::kMatrix_Kind) { in index_type()
DSkSLType.cpp24 if (this->kind() == kMatrix_Kind) { in determineCoercionCost()