Searched refs:_mesa_snorm_to_float (Results 1 – 4 of 4) sorted by relevance
/third_party/mesa3d/src/util/format/ |
D | format_utils.h | 49 _mesa_snorm_to_float(int x, unsigned src_bits) in _mesa_snorm_to_float() function 66 return _mesa_float_to_half(_mesa_snorm_to_float(x, src_bits)); in _mesa_snorm_to_half()
|
/third_party/mesa3d/src/mesa/main/ |
D | format_utils.c | 989 SWIZZLE_CONVERT(float, int8_t, _mesa_snorm_to_float(src, 8)); in convert_float() 1003 SWIZZLE_CONVERT(float, int16_t, _mesa_snorm_to_float(src, 16)); in convert_float() 1017 SWIZZLE_CONVERT(float, int32_t, _mesa_snorm_to_float(src, 32)); in convert_float()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_acceleration_structure.c | 261 coords[0] = _mesa_snorm_to_float(*(const int16_t *)(v_data + 0), 16); in build_triangles() 262 coords[1] = _mesa_snorm_to_float(*(const int16_t *)(v_data + 2), 16); in build_triangles() 267 coords[0] = _mesa_snorm_to_float(*(const int16_t *)(v_data + 0), 16); in build_triangles() 268 coords[1] = _mesa_snorm_to_float(*(const int16_t *)(v_data + 2), 16); in build_triangles() 269 coords[2] = _mesa_snorm_to_float(*(const int16_t *)(v_data + 4), 16); in build_triangles() 270 coords[3] = _mesa_snorm_to_float(*(const int16_t *)(v_data + 6), 16); in build_triangles()
|
/third_party/mesa3d/src/intel/isl/ |
D | isl_format.c | 1283 unpacked.f32 = _mesa_snorm_to_float(sign_extend(packed, layout->bits), in unpack_channel()
|