Searched refs:float32ToFloat11 (Results 1 – 6 of 6) sorted by relevance
134 R = float32ToFloat11(rgb[0]); in R11G11B10F()135 G = float32ToFloat11(rgb[1]); in R11G11B10F()161 static inline unsigned short float32ToFloat11(float fp32) in float32ToFloat11() function in sw::R11G11B10F
29 EXPECT_EQ(R11G11B10F::float32ToFloat11(bit_cast<float>(0x3500007F)), 0x0000); in TEST()30 EXPECT_EQ(R11G11B10F::float32ToFloat11(bit_cast<float>(0x35000080)), 0x0001); in TEST()
294 *offsetOutput = gl::float32ToFloat11(offsetInput[0]) << 0 | in CopyXYZ32FToX11Y11B10F()295 gl::float32ToFloat11(offsetInput[1]) << 11 | in CopyXYZ32FToX11Y11B10F()
236 inline unsigned short float32ToFloat11(float fp32) in float32ToFloat11() function663 return float32ToFloat11((float11ToFloat32(static_cast<unsigned short>(a)) + in averageFloat11()
1271 dest[x] = (gl::float32ToFloat11(gl::float16ToFloat32(source[x * 3 + 0])) << 0) | in LoadRGB16FToRG11B10F()1272 (gl::float32ToFloat11(gl::float16ToFloat32(source[x * 3 + 1])) << 11) | in LoadRGB16FToRG11B10F()1299 dest[x] = (gl::float32ToFloat11(source[x * 3 + 0]) << 0) | in LoadRGB32FToRG11B10F()1300 (gl::float32ToFloat11(source[x * 3 + 1]) << 11) | in LoadRGB32FToRG11B10F()
1827 dst->R = gl::float32ToFloat11(src->red); in writeColor()1828 dst->G = gl::float32ToFloat11(src->green); in writeColor()