Home
last modified time | relevance | path

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

/external/skqp/src/sksl/ir/
DSkSLConstructor.h95 if (c.fType.kind() == Type::kVector_Kind) { in compareConstant()
131 SkASSERT(fType.kind() == Type::kVector_Kind); in getVecComponent()
144 SkASSERT(arg->fType.kind() == Type::kVector_Kind); in getVecComponent()
198 SkASSERT(arg->fType.kind() == Type::kVector_Kind); in getMatComponent()
DSkSLType.h53 kVector_Kind enumerator
149 : Type(name, kVector_Kind, componentType, columns) {} in Type()
291 SkASSERT(fTypeKind == kScalar_Kind || fTypeKind == kVector_Kind || in columns()
DSkSLType.cpp17 if (this->kind() == kVector_Kind && other.kind() == kVector_Kind) { in coercionCost()
/external/skqp/src/sksl/
DSkSLMemoryLayout.h52 case Type::kVector_Kind: in alignment()
107 case Type::kVector_Kind: in size()
DSkSLCompiler.cpp525 if (c.fType.kind() == Type::kVector_Kind && c.isConstant()) { in is_constant()
632 SkASSERT(type.kind() == Type::kVector_Kind); in vectorize()
750 (bin->fLeft->fType.kind() != Type::kVector_Kind)) || in simplifyExpression()
752 (bin->fRight->fType.kind() != Type::kVector_Kind))) { in simplifyExpression()
758 if (bin->fLeft->fType.kind() == Type::kVector_Kind && in simplifyExpression()
771 bin->fRight->fType.kind() == Type::kVector_Kind && in simplifyExpression()
786 bin->fRight->fType.kind() == Type::kVector_Kind) { in simplifyExpression()
797 if (bin->fLeft->fType.kind() == Type::kVector_Kind && in simplifyExpression()
814 if (bin->fLeft->fType.kind() == Type::kVector_Kind && in simplifyExpression()
826 bin->fRight->fType.kind() == Type::kVector_Kind) { in simplifyExpression()
[all …]
DSkSLIRGenerator.cpp1116 return right.kind() == Type::kMatrix_Kind || right.kind() == Type::kVector_Kind; in is_matrix_multiply()
1118 return left.kind() == Type::kVector_Kind && right.kind() == Type::kMatrix_Kind; in is_matrix_multiply()
1195 if (right.kind() == Type::kVector_Kind) { in determine_binary_type()
1249 bool isVectorOrMatrix = left.kind() == Type::kVector_Kind || left.kind() == Type::kMatrix_Kind; in determine_binary_type()
1276 if ((left.kind() == Type::kVector_Kind || left.kind() == Type::kMatrix_Kind) && in determine_binary_type()
1408 if (left.fType.kind() == Type::kVector_Kind && in constantFold()
1716 case Type::kVector_Kind: in component_count()
1729 SkASSERT(type.kind() == Type::kVector_Kind || type.kind() == Type::kMatrix_Kind); in convertCompoundConstructor()
1740 if (args[i]->fType.kind() == Type::kVector_Kind) { in convertCompoundConstructor()
1794 } else if (kind == Type::kVector_Kind || kind == Type::kMatrix_Kind) { in convertConstructor()
[all …]
DSkSLSPIRVCodeGenerator.cpp155 if (type.kind() == Type::kVector_Kind) { in is_signed()
163 if (type.kind() == Type::kVector_Kind) { in is_unsigned()
171 if (type.kind() == Type::kVector_Kind) { in is_bool()
445 if (type.kind() == Type::kMatrix_Kind || type.kind() == Type::kVector_Kind) { in getActualType()
487 case Type::kVector_Kind: in getType()
745 if (a->fType.kind() == Type::kVector_Kind) { in vectorize()
1023 SkASSERT(c.fType.kind() == Type::kVector_Kind && c.isConstant()); in writeConstantVector()
1224 } else if (arguments.size() == 1 && c.fArguments[0]->fType.kind() == Type::kVector_Kind) { in writeMatrixConstructor()
1247 if (c.fArguments[i]->fType.kind() == Type::kVector_Kind && in writeMatrixConstructor()
1294 SkASSERT(c.fType.kind() == Type::kVector_Kind); in writeVectorConstructor()
[all …]
DSkSLJIT.cpp252 case Type::kVector_Kind: in getType()
471 if (type.kind() == Type::kVector_Kind) { in typeKind()
499 b.fRight->fType.kind() == Type::kVector_Kind) { in vectorize()
501 } else if (b.fLeft->fType.kind() == Type::kVector_Kind && in vectorize()
604 case Type::kVector_Kind: { in compileBinary()
643 case Type::kVector_Kind: { in compileBinary()
932 case Type::kVector_Kind: { in compileConstructor()
945 if (arg->fType.kind() == Type::kVector_Kind) { in compileConstructor()
1554 case Type::kVector_Kind: { in compileVectorConstructor()
DSkSLGLSLCodeGenerator.cpp84 case Type::kVector_Kind: { in getTypeName()
1194 case Type::kVector_Kind: // fall through in writeFunctionCall()
DSkSLMetalCodeGenerator.cpp87 case Type::kVector_Kind: in writeType()
902 if (fieldType->kind() == Type::kVector_Kind && in writeFields()
DSkSLCPPCodeGenerator.cpp128 case Type::kVector_Kind: return type.name() + "(0)"; in default_value()