Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/sksl/
DSkSLMemoryLayout.h54 case Type::kMatrix_Kind: in alignment()
80 case Type::kMatrix_Kind: { in stride()
112 case Type::kMatrix_Kind: // fall through in size()
DSkSLSPIRVCodeGenerator.cpp427 if (field.fType->kind() == Type::kMatrix_Kind) { in writeStruct()
456 if (type.kind() == Type::kMatrix_Kind || type.kind() == Type::kVector_Kind) { in getActualType()
505 case Type::kMatrix_Kind: in getType()
1181 SkASSERT(srcType.kind() == Type::kMatrix_Kind); in writeMatrixCopy()
1182 SkASSERT(dstType.kind() == Type::kMatrix_Kind); in writeMatrixCopy()
1289 SkASSERT(c.fType.kind() == Type::kMatrix_Kind); in writeMatrixConstructor()
1301 } else if (arguments.size() == 1 && c.fArguments[0]->fType.kind() == Type::kMatrix_Kind) { in writeMatrixConstructor()
1505 case Type::kMatrix_Kind: in writeConstructor()
1999 SkASSERT(operandType.kind() == Type::kMatrix_Kind); in writeMatrixComparison()
2034 SkASSERT(operandType.kind() == Type::kMatrix_Kind); in writeComponentwiseMatrixBinary()
[all …]
DSkSLIRGenerator.cpp266 baseType->kind() == Type::Kind::kMatrix_Kind) { in convertVarDeclarations()
1291 if (left.kind() == Type::kMatrix_Kind) { in is_matrix_multiply()
1292 return right.kind() == Type::kMatrix_Kind || right.kind() == Type::kVector_Kind; in is_matrix_multiply()
1294 return left.kind() == Type::kVector_Kind && right.kind() == Type::kMatrix_Kind; in is_matrix_multiply()
1425 bool isVectorOrMatrix = left.kind() == Type::kVector_Kind || left.kind() == Type::kMatrix_Kind; in determine_binary_type()
1452 if ((left.kind() == Type::kVector_Kind || left.kind() == Type::kMatrix_Kind) && in determine_binary_type()
1632 if (left.fType.kind() == Type::kMatrix_Kind && in constantFold()
1633 right.fType.kind() == Type::kMatrix_Kind && in constantFold()
1941 case Type::kMatrix_Kind: in component_count()
1952 SkASSERT(type.kind() == Type::kVector_Kind || type.kind() == Type::kMatrix_Kind); in convertCompoundConstructor()
[all …]
DSkSLByteCodeGenerator.cpp128 case Type::Kind::kMatrix_Kind: in type_category()
603 bool lVecOrMtx = (lType.kind() == Type::kVector_Kind || lType.kind() == Type::kMatrix_Kind); in writeBinaryExpression()
604 bool rVecOrMtx = (rType.kind() == Type::kVector_Kind || rType.kind() == Type::kMatrix_Kind); in writeBinaryExpression()
785 if (inType.kind() == Type::kMatrix_Kind && outType.kind() == Type::kMatrix_Kind) { in writeConstructor()
794 if (outType.kind() == Type::kMatrix_Kind) { in writeConstructor()
DSkSLMetalCodeGenerator.cpp93 case Type::kMatrix_Kind: in writeType()
412 } else if (arg.kind() == Type::kMatrix_Kind) { in getMatrixConstructHelper()
471 if (c.fType.kind() == Type::kMatrix_Kind && c.fArguments.size() == 1) { in writeConstructor()
486 if (Type::kMatrix_Kind == c.fType.kind() && arg->fType.columns() != c.fType.rows()) { in writeConstructor()
689 if (b.fOperator == Token::STAREQ && b.fLeft->fType.kind() == Type::kMatrix_Kind && in writeBinaryExpression()
690 b.fRight->fType.kind() == Type::kMatrix_Kind) { in writeBinaryExpression()
DSkSLCPPCodeGenerator.cpp156 case Type::kMatrix_Kind: return type.name() + "(1)"; in default_value()
1174 if (var.fType.kind() != Type::kMatrix_Kind) { in writeGetKey()
DSkSLGLSLCodeGenerator.cpp108 case Type::kMatrix_Kind: { in getTypeName()
1229 case Type::kMatrix_Kind: in writeFunctionCall()
/third_party/flutter/skia/src/sksl/ir/
DSkSLConstructor.h111 SkASSERT(fType.kind() == Type::kMatrix_Kind); in compareConstant()
176 SkASSERT(fType.kind() == Type::kMatrix_Kind); in getMatComponent()
187 if (fArguments[0]->fType.kind() == Type::kMatrix_Kind) { in getMatComponent()
DSkSLType.h49 kMatrix_Kind, enumerator
187 , fTypeKind(kMatrix_Kind) in Type()
353 fTypeKind == kMatrix_Kind || fTypeKind == kArray_Kind); in columns()
DSkSLIndexExpression.h21 if (type.kind() == Type::kMatrix_Kind) { in index_type()
DSkSLType.cpp33 if (this->kind() == kMatrix_Kind) { in coercionCost()