/third_party/flutter/skia/src/sksl/ |
D | SkSLByteCode.cpp | 323 : fFloat(f) { in VValue() 334 F32 fFloat; member 352 #define spf(index) sp[index].fFloat 399 VECTOR_MATRIX_BINARY_OP(kAddF, fFloat, +) in innerRun() 453 tmpArgs[j] = sp[j].fFloat[i]; in innerRun() 457 sp[j].fFloat[i] = tmpReturn[j]; in innerRun() 474 VECTOR_MATRIX_BINARY_OP(kCompareFEQ, fFloat, ==) in innerRun() 476 VECTOR_MATRIX_BINARY_OP(kCompareFNEQ, fFloat, !=) in innerRun() 479 VECTOR_BINARY_OP(kCompareFGT, fFloat, >) in innerRun() 482 VECTOR_BINARY_OP(kCompareFGTEQ, fFloat, >=) in innerRun() [all …]
|
/third_party/skia/src/core/ |
D | SkHalf.cpp | 25 float fFloat; member 39 floatUnion.fFloat = f; in SkFloatToHalf() 56 floatUnion.fFloat *= magic.fFloat; in SkFloatToHalf() 80 o.fFloat -= magic.fFloat; in SkHalfToFloat() 96 return o.fFloat; in SkHalfToFloat()
|
D | SkRuntimeEffect.cpp | 111 if (*type == *ctx.fTypes.fFloat) { v->type = Type::kFloat; return true; } in init_uniform_type()
|
/third_party/flutter/skia/src/core/ |
D | SkHalf.cpp | 25 float fFloat; member 39 floatUnion.fFloat = f; in SkFloatToHalf() 56 floatUnion.fFloat *= magic.fFloat; in SkFloatToHalf() 80 o.fFloat -= magic.fFloat; in SkHalfToFloat() 96 return o.fFloat; in SkHalfToFloat()
|
/third_party/skia/src/sksl/ |
D | SkSLBuiltinTypes.cpp | 21 : fFloat(Type::MakeScalarType( in BuiltinTypes() 23 , fFloat2(Type::MakeVectorType("float2", "f2", *fFloat, /*columns=*/2)) in BuiltinTypes() 24 , fFloat3(Type::MakeVectorType("float3", "f3", *fFloat, /*columns=*/3)) in BuiltinTypes() 25 , fFloat4(Type::MakeVectorType("float4", "f4", *fFloat, /*columns=*/4)) in BuiltinTypes() 59 , fFloatLiteral(Type::MakeLiteralType("$floatLiteral", *fFloat, /*priority=*/8)) in BuiltinTypes() 61 , fFloat2x2(Type::MakeMatrixType("float2x2", "f22", *fFloat, /*columns=*/2, /*rows=*/2)) in BuiltinTypes() 62 , fFloat2x3(Type::MakeMatrixType("float2x3", "f23", *fFloat, /*columns=*/2, /*rows=*/3)) in BuiltinTypes() 63 , fFloat2x4(Type::MakeMatrixType("float2x4", "f24", *fFloat, /*columns=*/2, /*rows=*/4)) in BuiltinTypes() 64 , fFloat3x2(Type::MakeMatrixType("float3x2", "f32", *fFloat, /*columns=*/3, /*rows=*/2)) in BuiltinTypes() 65 , fFloat3x3(Type::MakeMatrixType("float3x3", "f33", *fFloat, /*columns=*/3, /*rows=*/3)) in BuiltinTypes() [all …]
|
D | SkSLUtil.cpp | 52 if (type == *context.fTypes.fFloat ) { *outType = kFloat_GrSLType; return true; } in type_to_grsltype()
|
D | SkSLBuiltinTypes.h | 24 const std::unique_ptr<Type> fFloat; variable
|
/third_party/skia/docs/examples/ |
D | Color_Type_RGBA_F16.cpp | 8 float fFloat; member 14 floatUnion.fFloat = f; in FloatToHalf() 18 floatUnion.fFloat *= magic.fFloat; in FloatToHalf()
|
/third_party/flutter/skia/docs/examples/ |
D | Color_Type_RGBA_F16.cpp | 8 float fFloat; member 14 floatUnion.fFloat = f; in FloatToHalf() 18 floatUnion.fFloat *= magic.fFloat; in FloatToHalf()
|
/third_party/skia/include/private/ |
D | SkFloatBits.h | 41 float fFloat; member 48 data.fFloat = x; in SkFloat2Bits() 56 return data.fFloat; in SkBits2Float()
|
/third_party/flutter/skia/include/private/ |
D | SkFloatBits.h | 41 float fFloat; member 48 data.fFloat = x; in SkFloat2Bits() 56 return data.fFloat; in SkBits2Float()
|
/third_party/skia/tests/ |
D | SkSLMemoryLayoutTest.cpp | 23 REPORTER_ASSERT(r, 4 == layout.size(*context.fTypes.fFloat)); in DEF_TEST() 40 REPORTER_ASSERT(r, 4 == layout.alignment(*context.fTypes.fFloat)); in DEF_TEST() 66 fields1.emplace_back(SkSL::Modifiers(), skstd::string_view("b"), context.fTypes.fFloat.get()); in DEF_TEST() 91 SkSL::Type::MakeArrayType(SkSL::String("float[4]"), *context.fTypes.fFloat, 4); in DEF_TEST() 111 REPORTER_ASSERT(r, 4 == layout.size(*context.fTypes.fFloat)); in DEF_TEST() 128 REPORTER_ASSERT(r, 4 == layout.alignment(*context.fTypes.fFloat)); in DEF_TEST() 154 fields1.emplace_back(SkSL::Modifiers(), skstd::string_view("b"), context.fTypes.fFloat.get()); in DEF_TEST() 179 SkSL::Type::MakeArrayType(SkSL::String("float[4]"), *context.fTypes.fFloat, 4); in DEF_TEST()
|
D | MathTest.cpp | 669 float fFloat; in DEF_TEST() member 684 int i = sk_float_saturate2int(r.fFloat); in DEF_TEST() 688 SkScalar p = SkTPin<SkScalar>(r.fFloat, 0, 100); in DEF_TEST() 695 float fFloat; in DEF_TEST() member 710 int64_t i = sk_float_saturate2int64(r.fFloat); in DEF_TEST()
|
D | SkSLInterpreterTest.cpp | 872 : INHERITED(name, *compiler.context().fTypes.fFloat) in ExternalSqrt() 878 outTypes[0] = fCompiler.context().fTypes.fFloat.get(); in getCallParameterTypes() 919 : INHERITED(name, *compiler.context().fTypes.fFloat) in ExternalTable() 928 outTypes[0] = fCompiler.context().fTypes.fFloat.get(); in getCallParameterTypes()
|
/third_party/flutter/skia/tests/ |
D | GrTRecorderTest.cpp | 115 SubSubclass() : fInt(1234), fFloat(1.234f) {} in SubSubclass() 122 REPORTER_ASSERT(reporter, 1.234f == fFloat); in validate() 127 float fFloat; member in SubSubclass
|
D | MathTest.cpp | 636 float fFloat; in DEF_TEST() member 651 int i = sk_float_saturate2int(r.fFloat); in DEF_TEST() 656 SkScalar mx = SkTMax<SkScalar>(r.fFloat, 50); in DEF_TEST() 659 SkScalar mn = SkTMin<SkScalar>(r.fFloat, 50); in DEF_TEST() 662 SkScalar p = SkTPin<SkScalar>(r.fFloat, 0, 100); in DEF_TEST() 669 float fFloat; in DEF_TEST() member 684 int64_t i = sk_float_saturate2int64(r.fFloat); in DEF_TEST()
|
/third_party/flutter/skia/src/pathops/ |
D | SkPathOpsTypes.cpp | 183 floatIntA.fFloat = a; in UlpsDistance() 184 floatIntB.fFloat = b; in UlpsDistance()
|
/third_party/skia/src/pathops/ |
D | SkPathOpsTypes.cpp | 183 floatIntA.fFloat = a; in UlpsDistance() 184 floatIntB.fFloat = b; in UlpsDistance()
|
/third_party/skia/src/sksl/ir/ |
D | SkSLIndexExpression.cpp | 33 if (type.componentType() == *context.fTypes.fFloat) { in IndexType()
|
D | SkSLType.cpp | 588 if (*this == *context.fTypes.fFloat || *this == *context.fTypes.fFloatLiteral) { in toCompound() 592 case 1: return *context.fTypes.fFloat; in toCompound()
|
/third_party/skia/src/sksl/codegen/ |
D | SkSLGLSLCodeGenerator.cpp | 86 if (component == *fContext.fTypes.fFloat || component == *fContext.fTypes.fHalf) { in getTypeName() 107 if (component == *fContext.fTypes.fFloat || component == *fContext.fTypes.fHalf) { in getTypeName() 601 if (arg1Type == *fContext.fTypes.fFloat) { in writeFunctionCall() 1167 if (type == *fContext.fTypes.fFloat || type == *fContext.fTypes.fInt || in getTypePrecision()
|
D | SkSLSPIRVCodeGenerator.cpp | 526 return *fContext.fTypes.fFloat; in getActualType() 536 return fContext.fTypes.fFloat->toCompound(fContext, type.columns(), type.rows()); in getActualType() 662 this->getType(*fContext.fTypes.fFloat, layout), in getType() 1042 SkASSERT(arg1Type == *fContext.fTypes.fFloat); in writeSpecialIntrinsic() 1076 SpvId lodBias = this->writeLiteral(-0.5, *fContext.fTypes.fFloat); in writeSpecialIntrinsic() 1357 const SpvId oneID = this->writeLiteral(1.0, *fContext.fTypes.fFloat); in castScalarToFloat() 1358 const SpvId zeroID = this->writeLiteral(0.0, *fContext.fTypes.fFloat); in castScalarToFloat() 1471 const SpvId zeroID = this->writeLiteral(0.0, *fContext.fTypes.fFloat); in castScalarToBoolean() 1483 SpvId zeroId = this->writeLiteral(0.0, *fContext.fTypes.fFloat); in writeUniformScaleMatrix()
|
/third_party/skia/modules/particles/src/ |
D | SkParticleBinding.cpp | 60 outTypes[0] = fCompiler.context().fTypes.fFloat.get(); in getCallParameterTypes()
|
/third_party/skia/src/sksl/dsl/ |
D | DSLType.cpp | 101 return context.fTypes.fFloat.get(); in get_type_from_type_constant()
|