Searched refs:halfBits (Results 1 – 10 of 10) sorted by relevance
/third_party/flutter/skia/tests/ |
D | SafeMathTest.cpp | 34 size_t halfBits = bits / 2; in DEF_TEST() local 35 size_t sqrtMax = max >> halfBits; in DEF_TEST() 40 REPORTER_ASSERT(r, safe.mul(sqrtMax, sqrtMaxPlus1) == sqrtMax << halfBits); in DEF_TEST()
|
/third_party/skia/tests/ |
D | SafeMathTest.cpp | 34 size_t halfBits = bits / 2; in DEF_TEST() local 35 size_t sqrtMax = max >> halfBits; in DEF_TEST() 40 REPORTER_ASSERT(r, safe.mul(sqrtMax, sqrtMaxPlus1) == sqrtMax << halfBits); in DEF_TEST()
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
D | ShaderCore.cpp | 561 SIMD::UInt halfToFloatBits(SIMD::UInt halfBits) in halfToFloatBits() argument 565 auto sign16 = halfBits & SIMD::UInt(0x8000); in halfToFloatBits() 566 auto man16 = halfBits & SIMD::UInt(0x03FF); in halfToFloatBits() 567 auto exp16 = halfBits & SIMD::UInt(0x7C00); in halfToFloatBits() 614 UInt4 halfBits; in r11g11b10Unpack() local 615 halfBits = Insert(halfBits, (r11g11b10bits & UInt(0x000007FFu)) << 4, 0); in r11g11b10Unpack() 616 halfBits = Insert(halfBits, (r11g11b10bits & UInt(0x003FF800u)) >> 7, 1); in r11g11b10Unpack() 617 halfBits = Insert(halfBits, (r11g11b10bits & UInt(0xFFC00000u)) >> 17, 2); in r11g11b10Unpack() 618 halfBits = Insert(halfBits, UInt(0x00003C00u), 3); in r11g11b10Unpack() 619 return As<Float4>(halfToFloatBits(halfBits)); in r11g11b10Unpack() [all …]
|
D | ShaderCore.hpp | 223 sw::SIMD::UInt halfToFloatBits(sw::SIMD::UInt halfBits);
|
D | SamplerCore.cpp | 2277 const int halfBits = 0x3EFFFFFF; // Value just under 0.5f in address() local 2343 Float4 half = As<Float4>(Int4(halfBits)); in address() 2351 Float4 half = As<Float4>(Int4(halfBits)); in address()
|
/third_party/skia/src/gpu/ |
D | GrUniformDataManager.cpp | 46 SkHalf* halfBits = static_cast<SkHalf*>(dest); in copyUniforms() local 48 *halfBits++ = SkFloatToHalf(*floatBits++); in copyUniforms()
|
/third_party/skia/experimental/graphite/src/ |
D | UniformManager.cpp | 163 SkHalf* halfBits = static_cast<SkHalf*>(dst); in CopyUniforms() local 165 *halfBits++ = SkFloatToHalf(*floatBits++); in CopyUniforms()
|
/third_party/skia/third_party/externals/swiftshader/src/Shader/ |
D | ShaderCore.hpp | 376 void halfToFloatBits(Float4& dst, const Float4& halfBits);
|
D | ShaderCore.cpp | 1254 void ShaderCore::halfToFloatBits(Float4& dst, const Float4& halfBits) in halfToFloatBits() argument 1261 UInt4 expmant = As<UInt4>(halfBits) & UInt4(mask_nosign); in halfToFloatBits() 1263 ((As<UInt4>(halfBits) ^ UInt4(expmant)) << 16) | in halfToFloatBits()
|
D | SamplerCore.cpp | 2358 const int halfBits = 0x3EFFFFFF; // Value just under 0.5f in address() local 2392 Float4 half = As<Float4>(Int4(halfBits)); in address() 2400 Float4 half = As<Float4>(Int4(halfBits)); in address()
|