Home
last modified time | relevance | path

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

/external/skqp/src/sksl/ir/
DSkSLType.h51 kScalar_Kind, enumerator
121 , fTypeKind(kScalar_Kind) in Type()
137 , fTypeKind(kScalar_Kind) in Type()
291 SkASSERT(fTypeKind == kScalar_Kind || fTypeKind == kVector_Kind || in columns()
DSkSLConstructor.h132 if (fArguments.size() == 1 && fArguments[0]->fType.kind() == Type::kScalar_Kind) { in getVecComponent()
138 if (arg->fType.kind() == Type::kScalar_Kind) { in getVecComponent()
169 if (fArguments[0]->fType.kind() == Type::kScalar_Kind) { in getMatComponent()
DSkSLType.cpp50 SkASSERT(this->kind() == Type::kScalar_Kind); in toCompound()
/external/skqp/src/sksl/
DSkSLMemoryLayout.h50 case Type::kScalar_Kind: in alignment()
100 case Type::kScalar_Kind: in size()
DSkSLCompiler.cpp633 SkASSERT((*otherExpression)->fType.kind() == Type::kScalar_Kind); in vectorize()
749 if (((bin->fLeft->fType.kind() != Type::kScalar_Kind) && in simplifyExpression()
751 ((bin->fRight->fType.kind() != Type::kScalar_Kind) && in simplifyExpression()
759 bin->fRight->fType.kind() == Type::kScalar_Kind) { in simplifyExpression()
770 if (bin->fLeft->fType.kind() == Type::kScalar_Kind && in simplifyExpression()
785 if (bin->fLeft->fType.kind() == Type::kScalar_Kind && in simplifyExpression()
798 bin->fRight->fType.kind() == Type::kScalar_Kind && in simplifyExpression()
815 bin->fRight->fType.kind() == Type::kScalar_Kind) { in simplifyExpression()
825 if (bin->fLeft->fType.kind() == Type::kScalar_Kind && in simplifyExpression()
839 if (bin->fLeft->fType.kind() == Type::kScalar_Kind && in simplifyExpression()
[all …]
DSkSLJIT.cpp238 case Type::kScalar_Kind: in getType()
498 if (b.fLeft->fType.kind() == Type::kScalar_Kind && in vectorize()
502 b.fRight->fType.kind() == Type::kScalar_Kind) { in vectorize()
600 case Type::kScalar_Kind: in compileBinary()
639 case Type::kScalar_Kind: in compileBinary()
889 case Type::kScalar_Kind: { in compileConstructor()
934 if (c.fArguments.size() == 1 && c.fArguments[0]->fType.kind() == Type::kScalar_Kind) { in compileConstructor()
1507 case Type::kScalar_Kind: { in compileVectorConstructor()
DSkSLIRGenerator.cpp1101 if (type.kind() == Type::kScalar_Kind) { in coerce()
1174 if (left.kind() == Type::kScalar_Kind) { in determine_binary_type()
1227 if (left.kind() == Type::kScalar_Kind) { in determine_binary_type()
1250 if (left.kind() == Type::kScalar_Kind && right.kind() == Type::kScalar_Kind && in determine_binary_type()
1277 (right.kind() == Type::kScalar_Kind)) { in determine_binary_type()
1749 } else if (args[i]->fType.kind() == Type::kScalar_Kind) { in convertCompoundConstructor()
1751 if (type.kind() != Type::kScalar_Kind) { in convertCompoundConstructor()
DSkSLGLSLCodeGenerator.cpp139 case Type::kScalar_Kind: { in getTypeName()
1177 case Type::kScalar_Kind: in writeFunctionCall()
DSkSLSPIRVCodeGenerator.cpp472 case Type::kScalar_Kind: in getType()
757 if (vectorSize && a->fType.kind() == Type::kScalar_Kind) { in vectorize()
1220 if (arguments.size() == 1 && c.fArguments[0]->fType.kind() == Type::kScalar_Kind) { in writeMatrixConstructor()
1382 if (arguments.size() == 1 && c.fArguments[0]->fType.kind() == Type::kScalar_Kind) { in writeVectorConstructor()
2018 SkASSERT(b.fRight->fType.kind() == Type::kScalar_Kind); in writeBinaryExpression()
2035 SkASSERT(b.fLeft->fType.kind() == Type::kScalar_Kind); in writeBinaryExpression()
DSkSLCPPCodeGenerator.cpp127 case Type::kScalar_Kind: return "0"; in default_value()
DSkSLMetalCodeGenerator.cpp384 if (Type::kMatrix_Kind == c.fType.kind() && Type::kScalar_Kind == arg->fType.kind()) { in writeConstructor()