Searched refs:normalizedToFloat (Results 1 – 8 of 8) sorted by relevance
/external/angle/src/image_util/ |
D | imageformats.cpp | 19 const float lum = gl::normalizedToFloat(src->L); in readColor() 46 dst->red = gl::normalizedToFloat(src->R); in readColor() 72 dst->alpha = gl::normalizedToFloat(src->A); in readColor() 87 const float lum = gl::normalizedToFloat(src->L); in readColor() 91 dst->alpha = gl::normalizedToFloat(src->A); in readColor() 108 const float lum = gl::normalizedToFloat(src->L); in readColor() 112 dst->alpha = gl::normalizedToFloat(src->A); in readColor() 137 dst->red = gl::normalizedToFloat(src->R); in readColor() 138 dst->green = gl::normalizedToFloat(src->G); in readColor() 171 dst->red = gl::normalizedToFloat(src->R); in readColor() [all …]
|
/external/angle/src/libANGLE/renderer/metal/shaders/ |
D | copy_buffer.metal | 220 color.r = normalizedToFloat<5>(getShiftedData<5, 11>(src)); 221 color.g = normalizedToFloat<6>(getShiftedData<6, 5>(src)); 222 color.b = normalizedToFloat<5>(getShiftedData<5, 0>(src)); 241 color.r = normalizedToFloat<4>(getShiftedData<4, 12>(src)); 242 color.g = normalizedToFloat<4>(getShiftedData<4, 8>(src)); 243 color.b = normalizedToFloat<4>(getShiftedData<4, 4>(src)); 244 color.a = normalizedToFloat<4>(getShiftedData<4, 0>(src)); 264 color.r = normalizedToFloat<5>(getShiftedData<5, 11>(src)); 265 color.g = normalizedToFloat<5>(getShiftedData<5, 6>(src)); 266 color.b = normalizedToFloat<5>(getShiftedData<5, 1>(src)); [all …]
|
D | common.h | 208 static inline float normalizedToFloat(T input) in normalizedToFloat() function 219 static inline float normalizedToFloat(T input) in normalizedToFloat() function 221 return normalizedToFloat<sizeof(T) * 8, T>(input); in normalizedToFloat() 225 inline float normalizedToFloat(short input) in normalizedToFloat() function 232 inline float normalizedToFloat(int input) in normalizedToFloat() function 239 inline float normalizedToFloat(uint input) in normalizedToFloat() function
|
D | mtl_default_shaders_src_autogen.inc | 240 static inline float normalizedToFloat(T input) 251 static inline float normalizedToFloat(T input) 253 return normalizedToFloat<sizeof(T) * 8, T>(input); 257 inline float normalizedToFloat(short input) 264 inline float normalizedToFloat(int input) 271 inline float normalizedToFloat(uint input) 1821 color.r = normalizedToFloat<5>(getShiftedData<5, 11>(src)); 1822 color.g = normalizedToFloat<6>(getShiftedData<6, 5>(src)); 1823 color.b = normalizedToFloat<5>(getShiftedData<5, 0>(src)); 1842 color.r = normalizedToFloat<4>(getShiftedData<4, 12>(src)); [all …]
|
/external/angle/src/libANGLE/ |
D | Context_gles_1_0.cpp | 91 {normalizedToFloat<uint8_t>(red), normalizedToFloat<uint8_t>(green), in color4ub() 92 normalizedToFloat<uint8_t>(blue), normalizedToFloat<uint8_t>(alpha)}); in color4ub()
|
D | queryutils.cpp | 63 return ColorGeneric(ColorF(normalizedToFloat(params[0]), normalizedToFloat(params[1]), in ConvertToColor() 64 normalizedToFloat(params[2]), normalizedToFloat(params[3]))); in ConvertToColor()
|
/external/angle/src/common/ |
D | mathutil.h | 497 inline float normalizedToFloat(T input) in normalizedToFloat() function 515 inline float normalizedToFloat(T input) in normalizedToFloat() function
|
/external/angle/src/libANGLE/renderer/d3d/d3d11/ |
D | Blit11.cpp | 260 float floatDepth = gl::normalizedToFloat<24>(normDepth); in Depth24Stencil8ToDepth32F()
|