Searched refs:_mesa_float_to_snorm (Results 1 – 3 of 3) sorted by relevance
/third_party/mesa3d/src/util/format/ |
D | format_utils.h | 116 _mesa_float_to_snorm(float x, unsigned dst_bits) in _mesa_float_to_snorm() function 129 return _mesa_float_to_snorm(_mesa_half_to_float(x), dst_bits); in _mesa_half_to_snorm()
|
/third_party/mesa3d/src/mesa/main/ |
D | format_utils.c | 1165 SWIZZLE_CONVERT(uint8_t, float, _mesa_float_to_snorm(src, 8)); in convert_byte() 1297 SWIZZLE_CONVERT(uint16_t, float, _mesa_float_to_snorm(src, 16)); in convert_short() 1428 SWIZZLE_CONVERT(uint32_t, float, _mesa_float_to_snorm(src, 32)); in convert_int()
|
/third_party/mesa3d/src/intel/isl/ |
D | isl_format.c | 1230 packed = _mesa_float_to_snorm(value->f32[i], layout->bits); in pack_channel()
|