Searched refs:fUInt (Results 1 – 14 of 14) sorted by relevance
/external/skia/src/base/ |
D | SkHalf.cpp | 24 uint32_t fUInt; // this must come first for the initializations below to work member 41 uint32_t sign = floatUnion.fUInt & sign_mask; in SkFloatToHalf() 42 floatUnion.fUInt ^= sign; in SkFloatToHalf() 50 if (floatUnion.fUInt >= f32infty) in SkFloatToHalf() 52 o = (floatUnion.fUInt > f32infty) ? 0x7e00 : 0x7c00; in SkFloatToHalf() 55 floatUnion.fUInt &= round_mask; in SkFloatToHalf() 57 floatUnion.fUInt -= round_mask; in SkFloatToHalf() 59 if (floatUnion.fUInt > f16infty) { in SkFloatToHalf() 60 floatUnion.fUInt = f16infty; in SkFloatToHalf() 63 o = floatUnion.fUInt >> 13; // Take the bits! in SkFloatToHalf() [all …]
|
/external/skia/docs/examples/ |
D | Color_Type_RGBA_F16.cpp | 7 uint32_t fUInt; member 15 uint32_t sign = floatUnion.fUInt & 0x80000000u; in FloatToHalf() 16 floatUnion.fUInt ^= sign; in FloatToHalf() 17 floatUnion.fUInt &= round_mask; in FloatToHalf() 19 floatUnion.fUInt -= round_mask; in FloatToHalf() 20 return (floatUnion.fUInt >> 13) | (sign >> 16); in FloatToHalf()
|
/external/skia/src/sksl/ |
D | SkSLBuiltinTypes.cpp | 34 , fUInt(Type::MakeScalarType( in BuiltinTypes() 36 , fUInt2(Type::MakeVectorType("uint2", "I2", *fUInt, /*columns=*/2)) in BuiltinTypes() 37 , fUInt3(Type::MakeVectorType("uint3", "I3", *fUInt, /*columns=*/3)) in BuiltinTypes() 38 , fUInt4(Type::MakeVectorType("uint4", "I4", *fUInt, /*columns=*/4)) in BuiltinTypes() 170 , fGenUType(Type::MakeGenericType("$genUType", {fUInt.get(), fUInt2.get(), fUInt3.get(),
|
D | SkSLUtil.cpp | 81 if (type.matches(*context.fTypes.fUInt )) { *outType = SkSLType::kUInt; return true; } in type_to_sksltype()
|
D | SkSLBuiltinTypes.h | 39 const std::unique_ptr<Type> fUInt; variable
|
/external/skia/tests/ |
D | SkSLTypeTest.cpp | 28 REPORTER_ASSERT(r, types.fUInt->minimumValue() == uint_limits::lowest()); in DEF_TEST() 29 REPORTER_ASSERT(r, types.fUInt->maximumValue() == uint_limits::max()); in DEF_TEST()
|
D | SkSLMemoryLayoutTest.cpp | 232 REPORTER_ASSERT(r, 4 == layout.size(*context.fTypes.fUInt)); in DEF_TEST() 236 REPORTER_ASSERT(r, 4 == layout.alignment(*context.fTypes.fUInt)); in DEF_TEST() 486 REPORTER_ASSERT(r, 4 == layout.size(*context.fTypes.fUInt)); in DEF_TEST() 490 REPORTER_ASSERT(r, 4 == layout.alignment(*context.fTypes.fUInt)); in DEF_TEST() 772 REPORTER_ASSERT(r, layout.isSupported(*context.fTypes.fUInt)); in DEF_TEST()
|
/external/skia/src/sksl/dsl/ |
D | DSLType.cpp | 162 return context.fTypes.fUInt.get(); in get_type_from_type_constant()
|
/external/skia/src/sksl/ir/ |
D | SkSLType.cpp | 970 } else if (this->matches(*context.fTypes.fUInt)) { in toCompound() 974 case 1: return *context.fTypes.fUInt; in toCompound()
|
/external/skia/src/sksl/codegen/ |
D | SkSLGLSLCodeGenerator.cpp | 1101 if (type.matches(*fContext.fTypes.fUInt)) { in writeLiteral() 1294 type.matches(*fContext.fTypes.fUInt)) { in getTypePrecision()
|
D | SkSLRasterPipelineCodeGenerator.cpp | 1107 autoContinueMask.enable(&fProgramSlots, *fProgram.fContext->fTypes.fUInt, in writeDoStatement() 1215 autoContinueMask.enable(&fProgramSlots, *fProgram.fContext->fTypes.fUInt, in writeForStatement()
|
D | SkSLWGSLCodeGenerator.cpp | 1006 if (type.matches(*fContext.fTypes.fUInt)) { in writeLiteral()
|
D | SkSLSPIRVCodeGenerator.cpp | 1878 const SpvId oneID = this->writeLiteral(1.0, *fContext.fTypes.fUInt); in castScalarToUnsignedInt() 1879 const SpvId zeroID = this->writeLiteral(0.0, *fContext.fTypes.fUInt); in castScalarToUnsignedInt() 1918 const SpvId zeroID = this->writeLiteral(0.0, *fContext.fTypes.fUInt); in castScalarToBoolean()
|
D | SkSLMetalCodeGenerator.cpp | 1949 if (type.matches(*fContext.fTypes.fUInt)) { in writeLiteral()
|