Home
last modified time | relevance | path

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

/external/swiftshader/src/Pipeline/
DSpirvShaderImage.cpp782 dst.move(0, halfToFloatBits(As<SIMD::UInt>(packed[0]) & SIMD::UInt(0x0000FFFF))); in EmitImageRead()
783 dst.move(1, halfToFloatBits((As<SIMD::UInt>(packed[0]) & SIMD::UInt(0xFFFF0000)) >> 16)); in EmitImageRead()
784 dst.move(2, halfToFloatBits(As<SIMD::UInt>(packed[1]) & SIMD::UInt(0x0000FFFF))); in EmitImageRead()
785 dst.move(3, halfToFloatBits((As<SIMD::UInt>(packed[1]) & SIMD::UInt(0xFFFF0000)) >> 16)); in EmitImageRead()
884 dst.move(0, halfToFloatBits(As<SIMD::UInt>(packed[0]) & SIMD::UInt(0x0000FFFF))); in EmitImageRead()
914 dst.move(0, halfToFloatBits(As<SIMD::UInt>(packed[0]) & SIMD::UInt(0x0000FFFF))); in EmitImageRead()
915 dst.move(1, halfToFloatBits((As<SIMD::UInt>(packed[0]) & SIMD::UInt(0xFFFF0000)) >> 16)); in EmitImageRead()
993 dst.move(0, halfToFloatBits((packed[0] << 4) & SIMD::Int(0x7FF0))); in EmitImageRead()
994 dst.move(1, halfToFloatBits((packed[0] >> 7) & SIMD::Int(0x7FF0))); in EmitImageRead()
995 dst.move(2, halfToFloatBits((packed[0] >> 17) & SIMD::Int(0x7FE0))); in EmitImageRead()
DSamplerCore.cpp1939 c.x.x = Extract(As<Float4>(halfToFloatBits(t0)), 0); in sampleTexel()
1940 c.x.y = Extract(As<Float4>(halfToFloatBits(t1)), 0); in sampleTexel()
1941 c.x.z = Extract(As<Float4>(halfToFloatBits(t2)), 0); in sampleTexel()
1942 c.x.w = Extract(As<Float4>(halfToFloatBits(t3)), 0); in sampleTexel()
1951 c.x = As<Float4>(halfToFloatBits(t0)); in sampleTexel()
1952 c.y = As<Float4>(halfToFloatBits(t1)); in sampleTexel()
1953 c.z = As<Float4>(halfToFloatBits(t2)); in sampleTexel()
1954 c.w = As<Float4>(halfToFloatBits(t3)); in sampleTexel()
1963 c.x = As<Float4>(halfToFloatBits(t0)); in sampleTexel()
1964 c.y = As<Float4>(halfToFloatBits(t1)); in sampleTexel()
[all …]
DSpirvShaderGLSLstd450.cpp518 dst.move(0, halfToFloatBits(val.UInt(0) & SIMD::UInt(0x0000FFFF))); in EmitExtGLSLstd450()
519 dst.move(1, halfToFloatBits((val.UInt(0) & SIMD::UInt(0xFFFF0000)) >> 16)); in EmitExtGLSLstd450()
DShaderCore.cpp561 SIMD::UInt halfToFloatBits(SIMD::UInt halfBits) in halfToFloatBits() function
619 return As<Float4>(halfToFloatBits(halfBits)); in r11g11b10Unpack()
DShaderCore.hpp223 sw::SIMD::UInt halfToFloatBits(sw::SIMD::UInt halfBits);
/external/swiftshader/src/Shader/
DShaderCore.hpp382 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()