Home
last modified time | relevance | path

Searched refs:fFloat_Type (Results 1 – 25 of 25) 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/skia/src/sksl/
DSkSLContext.h31 , fFloat_Type(new Type("float", Type::kFloat_NumberKind, 5, true)) in Context()
32 , fFloat2_Type(new Type("float2", *fFloat_Type, 2)) in Context()
33 , fFloat3_Type(new Type("float3", *fFloat_Type, 3)) in Context()
34 , fFloat4_Type(new Type("float4", *fFloat_Type, 4)) in Context()
67 , fFloat2x2_Type(new Type("float2x2", *fFloat_Type, 2, 2)) in Context()
68 , fFloat2x3_Type(new Type("float2x3", *fFloat_Type, 2, 3)) in Context()
69 , fFloat2x4_Type(new Type("float2x4", *fFloat_Type, 2, 4)) in Context()
70 , fFloat3x2_Type(new Type("float3x2", *fFloat_Type, 3, 2)) in Context()
71 , fFloat3x3_Type(new Type("float3x3", *fFloat_Type, 3, 3)) in Context()
72 , fFloat3x4_Type(new Type("float3x4", *fFloat_Type, 3, 4)) in Context()
[all …]
DSkSLSPIRVCodeGenerator.cpp149 return type == *context.fFloat_Type || type == *context.fHalf_Type || in is_float()
441 return *fContext.fFloat_Type; in getActualType()
451 return fContext.fFloat_Type->toCompound(fContext, type.columns(), type.rows()); in getActualType()
484 } else if (type == *fContext.fFloat_Type || type == *fContext.fHalf_Type || in getType()
535 this->getType(*fContext.fFloat_Type, layout), in getType()
857 SkASSERT(c.fArguments[1]->fType == *fContext.fFloat_Type); in writeSpecialIntrinsic()
1165 if (dstType.componentType() == *fContext.fFloat_Type) { in writeMatrixCopy()
1353 if (dst == *fContext.fFloat_Type || dst == *fContext.fHalf_Type) { in writeVectorConstructor()
1354 if (src == *fContext.fFloat_Type || src == *fContext.fHalf_Type) { in writeVectorConstructor()
1372 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()
111 if (component == *fContext.fFloat_Type || component == *fContext.fHalf_Type) { in getTypeName()
624 if (c.fArguments[1]->fType == *fContext.fFloat_Type) { in writeFunctionCall()
1216 if (type == *fContext.fFloat_Type || type == *fContext.fInt_Type || in writeFunctionCall()
DSkSLHCodeGenerator.cpp46 } else if (type == *context.fFloat_Type || type == *context.fHalf_Type) { in ParameterCType()
DSkSLCPPCodeGenerator.cpp538 if (var.fType == *fContext.fFloat_Type) { in addUniform()
DSkSLMetalCodeGenerator.cpp105 this->write(fContext.fFloat_Type->name()); in writeType()
/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/skia/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()
DSkSLConstructor.h35 if (fType == *irGenerator.fContext.fFloat_Type || in constantPropagate()
110 if (fType.componentType() == *context.fFloat_Type) { in compareConstant()
DSkSLFloatLiteral.h21 : INHERITED(offset, kFloatLiteral_Kind, *context.fFloat_Type) in FloatLiteral()
DSkSLIndexExpression.h22 if (type.componentType() == *context.fFloat_Type) { in index_type()
DSkSLType.cpp54 if (*this == *context.fFloat_Type) { in toCompound()
/external/skia/src/gpu/effects/
DGrSkSLFP.cpp63 } else if (&v->fType == fCompiler.context().fFloat_Type.get()) { in getSpecialization()
100 if (type == *fContext.fFloat_Type) { in uniformType()
223 } else if (&v->fType == context.fFloat_Type.get()) { in onSetData()
339 } else if (&v->fType == context.fFloat_Type.get()) { in onGetGLSLProcessorKey()
/external/skia/src/sksl/ir/
DSkSLIndexExpression.h22 if (type.componentType() == *context.fFloat_Type) { in index_type()
DSkSLSwizzle.h35 if (base == *context.fFloat_Type) { in get_type()
DSkSLType.cpp55 if (*this == *context.fFloat_Type || *this == *context.fFloatLiteral_Type) { in toCompound()
/external/skqp/src/gpu/effects/
DGrSkSLFP.cpp93 if (type == *fContext.fFloat_Type) { in uniformType()