Home
last modified time | relevance | path

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

/third_party/flutter/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.cpp155 return type == *context.fFloat_Type || type == *context.fHalf_Type || in is_float()
448 return *fContext.fFloat_Type; in getActualType()
458 return fContext.fFloat_Type->toCompound(fContext, type.columns(), type.rows()); in getActualType()
491 } else if (type == *fContext.fFloat_Type || type == *fContext.fHalf_Type || in getType()
552 this->getType(*fContext.fFloat_Type, layout), in getType()
883 SkASSERT(c.fArguments[1]->fType == *fContext.fFloat_Type); in writeSpecialIntrinsic()
1191 if (dstType.componentType() == *fContext.fFloat_Type) { in writeMatrixCopy()
1379 if (dst == *fContext.fFloat_Type || dst == *fContext.fHalf_Type) { in writeVectorConstructor()
1380 if (src == *fContext.fFloat_Type || src == *fContext.fHalf_Type) { in writeVectorConstructor()
1398 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()
1223 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.cpp546 if (var.fType == *fContext.fFloat_Type) { in addUniform()
DSkSLMetalCodeGenerator.cpp105 this->write(fContext.fFloat_Type->name()); in writeType()
DSkSLIRGenerator.cpp759 valid = parameters[0]->fType == *fContext.fFloat_Type && in convertFunction()
761 parameters[1]->fType == *fContext.fFloat_Type && in convertFunction()
/third_party/flutter/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()
DSkSLInterpreterTest.cpp838 return *compiler->context().fFloat_Type; in type_of()
861 } else if (type() == *fCompiler.context().fFloat_Type) { in read()
993 : INHERITED(name, *compiler.context().fFloat_Type) in FunctionExternalValue()
1006 outTypes[0] = fCompiler.context().fFloat_Type.get(); in getCallParameterTypes()
/third_party/flutter/skia/modules/particles/src/
DSkParticleEffect.cpp50 : INHERITED(name, compiler, *compiler.context().fFloat_Type) in SkCurveExternalValue()
56 outTypes[0] = fCompiler.context().fFloat_Type.get(); in getCallParameterTypes()
101 outTypes[0] = fCompiler.context().fFloat_Type.get(); in getCallParameterTypes()
164 outTypes[0] = fCompiler.context().fFloat_Type.get(); in getCallParameterTypes()
300 : INHERITED(name, compiler, *compiler.context().fFloat_Type) {} in SkRandomExternalValue()
/third_party/flutter/skia/src/sksl/ir/
DSkSLIndexExpression.h22 if (type.componentType() == *context.fFloat_Type) { in index_type()
DSkSLType.cpp55 if (*this == *context.fFloat_Type || *this == *context.fFloatLiteral_Type) { in toCompound()
DSkSLSwizzle.h35 if (base == *context.fFloat_Type) { in get_type()
/third_party/flutter/skia/src/gpu/effects/
DGrSkSLFP.cpp64 } else if (&v->fType == fCompiler.context().fFloat_Type.get() || in getSpecialization()
99 if (&v.fType == context.fFloat_Type.get()) { in get_ctype()
126 if (type == *fContext.fFloat_Type) { in uniformType()