Home
last modified time | relevance | path

Searched refs:halfToFloatBits (Results 1 – 7 of 7) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DSpirvShaderImage.cpp861 dst.move(0, halfToFloatBits(As<SIMD::UInt>(packed[0]) & SIMD::UInt(0x0000FFFF))); in EmitImageRead()
862 dst.move(1, halfToFloatBits((As<SIMD::UInt>(packed[0]) & SIMD::UInt(0xFFFF0000)) >> 16)); in EmitImageRead()
863 dst.move(2, halfToFloatBits(As<SIMD::UInt>(packed[1]) & SIMD::UInt(0x0000FFFF))); in EmitImageRead()
864 dst.move(3, halfToFloatBits((As<SIMD::UInt>(packed[1]) & SIMD::UInt(0xFFFF0000)) >> 16)); in EmitImageRead()
963 dst.move(0, halfToFloatBits(As<SIMD::UInt>(packed[0]) & SIMD::UInt(0x0000FFFF))); in EmitImageRead()
993 dst.move(0, halfToFloatBits(As<SIMD::UInt>(packed[0]) & SIMD::UInt(0x0000FFFF))); in EmitImageRead()
994 dst.move(1, halfToFloatBits((As<SIMD::UInt>(packed[0]) & SIMD::UInt(0xFFFF0000)) >> 16)); in EmitImageRead()
1114 dst.move(0, halfToFloatBits((packed[0] << 4) & SIMD::Int(0x7FF0))); in EmitImageRead()
1115 dst.move(1, halfToFloatBits((packed[0] >> 7) & SIMD::Int(0x7FF0))); in EmitImageRead()
1116 dst.move(2, halfToFloatBits((packed[0] >> 17) & SIMD::Int(0x7FE0))); in EmitImageRead()
DSamplerCore.cpp1904 c.x.x = Extract(As<Float4>(halfToFloatBits(t0)), 0); in sampleTexel()
1905 c.x.y = Extract(As<Float4>(halfToFloatBits(t1)), 0); in sampleTexel()
1906 c.x.z = Extract(As<Float4>(halfToFloatBits(t2)), 0); in sampleTexel()
1907 c.x.w = Extract(As<Float4>(halfToFloatBits(t3)), 0); in sampleTexel()
1916 c.x = As<Float4>(halfToFloatBits(t0)); in sampleTexel()
1917 c.y = As<Float4>(halfToFloatBits(t1)); in sampleTexel()
1918 c.z = As<Float4>(halfToFloatBits(t2)); in sampleTexel()
1919 c.w = As<Float4>(halfToFloatBits(t3)); in sampleTexel()
1928 c.x = As<Float4>(halfToFloatBits(t0)); in sampleTexel()
1929 c.y = As<Float4>(halfToFloatBits(t1)); in sampleTexel()
[all …]
DShaderCore.cpp561 SIMD::UInt halfToFloatBits(SIMD::UInt halfBits) in halfToFloatBits() function
619 return As<Float4>(halfToFloatBits(halfBits)); in r11g11b10Unpack()
DSpirvShaderGLSLstd450.cpp497 dst.move(0, halfToFloatBits(val.UInt(0) & SIMD::UInt(0x0000FFFF))); in EmitExtGLSLstd450()
498 dst.move(1, halfToFloatBits((val.UInt(0) & SIMD::UInt(0xFFFF0000)) >> 16)); in EmitExtGLSLstd450()
DShaderCore.hpp223 sw::SIMD::UInt halfToFloatBits(sw::SIMD::UInt halfBits);
/third_party/skia/third_party/externals/swiftshader/src/Shader/
DShaderCore.hpp376 void halfToFloatBits(Float4& dst, const Float4& halfBits);
DShaderCore.cpp1254 void ShaderCore::halfToFloatBits(Float4& dst, const Float4& halfBits) in halfToFloatBits() function in sw::ShaderCore
1277 halfToFloatBits(dst.x, As<Float4>(As<UInt4>(s0.x) & UInt4(0x0000FFFF))); in unpackHalf2x16()
1278 halfToFloatBits(dst.y, As<Float4>((As<UInt4>(s0.x) & UInt4(0xFFFF0000)) >> 16)); in unpackHalf2x16()