Searched refs:floatToNormalized (Results 1 – 8 of 8) sorted by relevance
/external/angle/src/image_util/ |
D | imageformats.cpp | 28 dst->L = gl::floatToNormalized<uint8_t>(src->red); in writeColor() 59 dst->R = gl::floatToNormalized<uint8_t>(src->red); in writeColor() 77 dst->A = gl::floatToNormalized<uint8_t>(src->alpha); in writeColor() 96 dst->L = gl::floatToNormalized<uint8_t>(src->red); in writeColor() 97 dst->A = gl::floatToNormalized<uint8_t>(src->alpha); in writeColor() 117 dst->L = gl::floatToNormalized<uint8_t>(src->red); in writeColor() 118 dst->A = gl::floatToNormalized<uint8_t>(src->alpha); in writeColor() 151 dst->R = gl::floatToNormalized<uint8_t>(src->red); in writeColor() 152 dst->G = gl::floatToNormalized<uint8_t>(src->green); in writeColor() 186 dst->R = gl::floatToNormalized<uint8_t>(src->red); in writeColor() [all …]
|
/external/angle/src/libANGLE/renderer/metal/shaders/ |
D | copy_buffer.metal | 228 ushort dst = shiftData<5, 11>(floatToNormalized<5, ushort>(color.r)) | 229 shiftData<6, 5>(floatToNormalized<6, ushort>(color.g)) | 230 shiftData<5, 0>(floatToNormalized<5, ushort>(color.b)); 249 ushort dst = shiftData<4, 12>(floatToNormalized<4, ushort>(color.r)) | 250 shiftData<4, 8>(floatToNormalized<4, ushort>(color.g)) | 251 shiftData<4, 4>(floatToNormalized<4, ushort>(color.b)) | 252 shiftData<4, 0>(floatToNormalized<4, ushort>(color.a)); 272 ushort dst = shiftData<5, 11>(floatToNormalized<5, ushort>(color.r)) | 273 shiftData<5, 6>(floatToNormalized<5, ushort>(color.g)) | 274 shiftData<5, 1>(floatToNormalized<5, ushort>(color.b)) | [all …]
|
D | common.h | 246 static inline T floatToNormalized(float input) in floatToNormalized() function 256 static inline T floatToNormalized(float input) in floatToNormalized() function 258 return floatToNormalized<sizeof(T) * 8, T>(input); in floatToNormalized()
|
D | mtl_default_shaders_src_autogen.inc | 278 static inline T floatToNormalized(float input) 288 static inline T floatToNormalized(float input) 290 return floatToNormalized<sizeof(T) * 8, T>(input); 1829 ushort dst = shiftData<5, 11>(floatToNormalized<5, ushort>(color.r)) | 1830 shiftData<6, 5>(floatToNormalized<6, ushort>(color.g)) | 1831 shiftData<5, 0>(floatToNormalized<5, ushort>(color.b)); 1850 ushort dst = shiftData<4, 12>(floatToNormalized<4, ushort>(color.r)) | 1851 shiftData<4, 8>(floatToNormalized<4, ushort>(color.g)) | 1852 shiftData<4, 4>(floatToNormalized<4, ushort>(color.b)) | 1853 shiftData<4, 0>(floatToNormalized<4, ushort>(color.a)); [all …]
|
/external/angle/src/common/ |
D | mathutil.h | 535 inline T floatToNormalized(float input) in floatToNormalized() function 549 inline T floatToNormalized(float input) in floatToNormalized() function
|
/external/angle/src/libANGLE/ |
D | queryutils.cpp | 107 outParams[0] = floatToNormalized<GLint>(color.colorF.red); in ConvertFromColor() 108 outParams[1] = floatToNormalized<GLint>(color.colorF.green); in ConvertFromColor() 109 outParams[2] = floatToNormalized<GLint>(color.colorF.blue); in ConvertFromColor() 110 outParams[3] = floatToNormalized<GLint>(color.colorF.alpha); in ConvertFromColor()
|
/external/angle/src/libANGLE/renderer/d3d/d3d11/ |
D | Blit11.cpp | 173 uint32_t convertedDepth = gl::floatToNormalized<16, uint32_t>(source[0]); in LoadDepth16() 179 uint32_t convertedDepth = gl::floatToNormalized<24, uint32_t>(source[0]); in LoadDepth24()
|
/external/angle/src/libANGLE/renderer/metal/ |
D | TextureMtl.mm | 175 *dst = gl::floatToNormalized<24, uint32_t>(static_cast<float>(src->depth));
|