Searched refs:_mesa_unorm_to_unorm (Results 1 – 4 of 4) sorted by relevance
/third_party/mesa3d/src/util/format/ |
D | format_utils.h | 87 _mesa_unorm_to_unorm(unsigned x, unsigned src_bits, unsigned dst_bits) in _mesa_unorm_to_unorm() function 112 return _mesa_unorm_to_unorm(x, src_bits - 1, dst_bits); in _mesa_snorm_to_unorm() 135 return _mesa_unorm_to_unorm(x, src_bits, dst_bits - 1); in _mesa_unorm_to_snorm()
|
/third_party/mesa3d/src/mesa/main/ |
D | format_utils.c | 1123 SWIZZLE_CONVERT(uint8_t, uint16_t, _mesa_unorm_to_unorm(src, 16, 8)); in convert_ubyte() 1137 SWIZZLE_CONVERT(uint8_t, uint32_t, _mesa_unorm_to_unorm(src, 32, 8)); in convert_ubyte() 1245 SWIZZLE_CONVERT(uint16_t, uint8_t, _mesa_unorm_to_unorm(src, 8, 16)); in convert_ushort() 1269 SWIZZLE_CONVERT(uint16_t, uint32_t, _mesa_unorm_to_unorm(src, 32, 16)); in convert_ushort() 1376 SWIZZLE_CONVERT(uint32_t, uint8_t, _mesa_unorm_to_unorm(src, 8, 32)); in convert_uint() 1390 SWIZZLE_CONVERT(uint32_t, uint16_t, _mesa_unorm_to_unorm(src, 16, 32)); in convert_uint()
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_helpers.c | 537 clamp_color.ui[i] = _mesa_unorm_to_unorm(clamp_color.ui[i], bits, bits); in util_clamp_color()
|
/third_party/mesa3d/docs/relnotes/ |
D | 21.1.0.rst | 1733 - util: Fix UBSan failure on _mesa_unorm_to_unorm.
|