Searched refs:kVector_Kind (Results 1 – 11 of 11) sorted by relevance
95 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()
53 kVector_Kind enumerator149 : Type(name, kVector_Kind, componentType, columns) {} in Type()291 SkASSERT(fTypeKind == kScalar_Kind || fTypeKind == kVector_Kind || in columns()
17 if (this->kind() == kVector_Kind && other.kind() == kVector_Kind) { in coercionCost()
52 case Type::kVector_Kind: in alignment()107 case Type::kVector_Kind: in size()
525 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 …]
1116 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 …]
155 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 …]
252 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()
84 case Type::kVector_Kind: { in getTypeName()1194 case Type::kVector_Kind: // fall through in writeFunctionCall()
87 case Type::kVector_Kind: in writeType()902 if (fieldType->kind() == Type::kVector_Kind && in writeFields()
128 case Type::kVector_Kind: return type.name() + "(0)"; in default_value()