Home
last modified time | relevance | path

Searched refs:fFloat_Type (Results 1 – 14 of 14) sorted by relevance

/external/skqp/src/sksl/
DSkSLContext.h28 , fFloat_Type(new Type("float", Type::kFloat_NumberKind, 3)) in Context()
29 , fFloat2_Type(new Type("float2", *fFloat_Type, 2)) in Context()
30 , fFloat3_Type(new Type("float3", *fFloat_Type, 3)) in Context()
31 , fFloat4_Type(new Type("float4", *fFloat_Type, 4)) in Context()
64 , fFloat2x2_Type(new Type("float2x2", *fFloat_Type, 2, 2)) in Context()
65 , fFloat2x3_Type(new Type("float2x3", *fFloat_Type, 2, 3)) in Context()
66 , fFloat2x4_Type(new Type("float2x4", *fFloat_Type, 2, 4)) in Context()
67 , fFloat3x2_Type(new Type("float3x2", *fFloat_Type, 3, 2)) in Context()
68 , fFloat3x3_Type(new Type("float3x3", *fFloat_Type, 3, 3)) in Context()
69 , fFloat3x4_Type(new Type("float3x4", *fFloat_Type, 3, 4)) in Context()
[all …]
DSkSLSPIRVCodeGenerator.cpp150 return type == *context.fFloat_Type || type == *context.fHalf_Type || in is_float()
437 return *fContext.fFloat_Type; in getActualType()
447 return fContext.fFloat_Type->toCompound(fContext, type.columns(), type.rows()); in getActualType()
479 } else if (type == *fContext.fFloat_Type) { in getType()
529 this->getType(*fContext.fFloat_Type, layout), in getType()
850 SkASSERT(c.fArguments[1]->fType == *fContext.fFloat_Type); in writeSpecialIntrinsic()
1140 if (dstType.componentType() == *fContext.fFloat_Type) { in writeMatrixCopy()
1312 if (dst == *fContext.fFloat_Type || dst == *fContext.fHalf_Type) { in writeVectorConstructor()
1313 if (src == *fContext.fFloat_Type || src == *fContext.fHalf_Type) { in writeVectorConstructor()
1331 if (src == *fContext.fFloat_Type || src == *fContext.fHalf_Type) { in writeVectorConstructor()
[all …]
DSkSLGLSLCodeGenerator.cpp87 if (component == *fContext.fFloat_Type || component == *fContext.fHalf_Type) { in getTypeName()
115 if (component == *fContext.fFloat_Type || component == *fContext.fHalf_Type) { in getTypeName()
620 if (c.fArguments[1]->fType == *fContext.fFloat_Type) { in writeFunctionCall()
1189 if (type == *fContext.fFloat_Type || type == *fContext.fInt_Type || in writeFunctionCall()
DSkSLMetalCodeGenerator.cpp103 this->write(fContext.fFloat_Type->name()); in writeType()
360 return ((t1 == *fContext.fFloat_Type || t1 == *fContext.fHalf_Type) && in canCoerce()
361 (t2 == *fContext.fFloat_Type || t2 == *fContext.fHalf_Type)); in canCoerce()
DSkSLHCodeGenerator.cpp44 if (type == *context.fFloat_Type || type == *context.fHalf_Type) { in ParameterCType()
DSkSLCPPCodeGenerator.cpp506 if (var.fType == *fContext.fFloat_Type) { in addUniform()
DSkSLIRGenerator.cpp1409 left.fType.componentType() == *fContext.fFloat_Type && in constantFold()
/external/skqp/tests/
DSkSLMemoryLayoutTest.cpp18 REPORTER_ASSERT(r, 4 == layout.size(*context.fFloat_Type)); in DEF_TEST()
35 REPORTER_ASSERT(r, 4 == layout.alignment(*context.fFloat_Type)); in DEF_TEST()
60 fields1.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("b"), context.fFloat_Type.get()); in DEF_TEST()
83 SkSL::Type array1(SkSL::String("float[4]"), SkSL::Type::kArray_Kind, *context.fFloat_Type, 4); in DEF_TEST()
99 REPORTER_ASSERT(r, 4 == layout.size(*context.fFloat_Type)); in DEF_TEST()
116 REPORTER_ASSERT(r, 4 == layout.alignment(*context.fFloat_Type)); in DEF_TEST()
141 fields1.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("b"), context.fFloat_Type.get()); in DEF_TEST()
164 SkSL::Type array1(SkSL::String("float[4]"), SkSL::Type::kArray_Kind, *context.fFloat_Type, 4); in DEF_TEST()
/external/skqp/src/sksl/ir/
DSkSLSwizzle.h29 if (base == *context.fFloat_Type) { in get_type()
115 } else if (fType == *irGenerator.fContext.fFloat_Type) { in constantPropagate()
DSkSLFloatLiteral.h21 : INHERITED(offset, kFloatLiteral_Kind, *context.fFloat_Type) in FloatLiteral()
DSkSLConstructor.h35 if (fType == *irGenerator.fContext.fFloat_Type || in constantPropagate()
110 if (fType.componentType() == *context.fFloat_Type) { in compareConstant()
DSkSLIndexExpression.h22 if (type.componentType() == *context.fFloat_Type) { in index_type()
DSkSLType.cpp54 if (*this == *context.fFloat_Type) { in toCompound()
/external/skqp/src/gpu/effects/
DGrSkSLFP.cpp93 if (type == *fContext.fFloat_Type) { in uniformType()