Searched refs:halfBits (Results 1 - 9 of 9) sorted by relevance
/third_party/skia/tests/ |
H A 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/ |
H A 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 in r11g11b10Unpack() 625 auto halfBits = floatToHalfBits(As<UInt4>(Max(value, Float4(0.0f))), true); r11g11b10Pack() local [all...] |
H A D | ShaderCore.hpp | 223 sw::SIMD::UInt halfToFloatBits(sw::SIMD::UInt halfBits);
|
H A 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/ |
H A 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/ |
H A 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/ |
H A D | ShaderCore.hpp | 376 void halfToFloatBits(Float4& dst, const Float4& halfBits);
|
H A 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()
|
H A 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()
|
Completed in 17 milliseconds