/third_party/skia/src/core/ |
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 …]
|
/third_party/flutter/skia/src/core/ |
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 …]
|
/third_party/flutter/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()
|
/third_party/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()
|
/third_party/skia/src/sksl/ |
D | SkSLBuiltinTypes.cpp | 36 , fUInt(Type::MakeScalarType( in BuiltinTypes() 38 , fUInt2(Type::MakeVectorType("uint2", "I2", *fUInt, /*columns=*/2)) in BuiltinTypes() 39 , fUInt3(Type::MakeVectorType("uint3", "I3", *fUInt, /*columns=*/3)) in BuiltinTypes() 40 , fUInt4(Type::MakeVectorType("uint4", "I4", *fUInt, /*columns=*/4)) in BuiltinTypes() 144 , fGenUType(Type::MakeGenericType("$genUType", {fUInt.get(), fUInt2.get(), fUInt3.get(),
|
D | SkSLUtil.cpp | 70 if (type == *context.fTypes.fUInt ) { *outType = kUInt_GrSLType; return true; } in type_to_grsltype()
|
D | SkSLBuiltinTypes.h | 39 const std::unique_ptr<Type> fUInt; variable
|
D | SkSLThreadContext.cpp | 109 symbols.addAlias("uint", context.fTypes.fUInt.get()); in setupSymbolTable()
|
/third_party/skia/tests/ |
D | SkSLTypeTest.cpp | 31 REPORTER_ASSERT(r, context.fTypes.fUInt->minimumValue() == uint_limits::min()); in DEF_TEST() 32 REPORTER_ASSERT(r, context.fTypes.fUInt->maximumValue() == uint_limits::max()); in DEF_TEST()
|
/third_party/skia/src/sksl/ir/ |
D | SkSLType.cpp | 678 } else if (*this == *context.fTypes.fUInt) { in toCompound() 682 case 1: return *context.fTypes.fUInt; in toCompound()
|
/third_party/skia/src/sksl/dsl/ |
D | DSLType.cpp | 145 return context.fTypes.fUInt.get(); in get_type_from_type_constant()
|
/third_party/skia/src/sksl/codegen/ |
D | SkSLGLSLCodeGenerator.cpp | 995 if (type == *fContext.fTypes.fUInt) { in writeLiteral() 1168 type == *fContext.fTypes.fUInt) { in getTypePrecision()
|
D | SkSLSPIRVCodeGenerator.cpp | 532 return *fContext.fTypes.fUInt; in getActualType() 542 return fContext.fTypes.fUInt->toCompound(fContext, type.columns(), type.rows()); in getActualType() 1426 const SpvId oneID = this->writeLiteral(1.0, *fContext.fTypes.fUInt); in castScalarToUnsignedInt() 1427 const SpvId zeroID = this->writeLiteral(0.0, *fContext.fTypes.fUInt); in castScalarToUnsignedInt() 1466 const SpvId zeroID = this->writeLiteral(0.0, *fContext.fTypes.fUInt); in castScalarToBoolean()
|
D | SkSLMetalCodeGenerator.cpp | 1714 if (type == *fContext.fTypes.fUInt) { in writeLiteral()
|