Home
last modified time | relevance | path

Searched refs:_mesa_unorm_to_float (Results 1 – 4 of 4) sorted by relevance

/aosp_15_r20/external/mesa3d/src/gallium/frontends/lavapipe/
H A Dlvp_acceleration_structure.c419 coords[0] = _mesa_unorm_to_float(*(const uint16_t *)(vertex_data + 0), 16); in lvp_build_acceleration_structure()
420 coords[1] = _mesa_unorm_to_float(*(const uint16_t *)(vertex_data + 2), 16); in lvp_build_acceleration_structure()
431 coords[0] = _mesa_unorm_to_float(*(const uint16_t *)(vertex_data + 0), 16); in lvp_build_acceleration_structure()
432 coords[1] = _mesa_unorm_to_float(*(const uint16_t *)(vertex_data + 2), 16); in lvp_build_acceleration_structure()
433 coords[2] = _mesa_unorm_to_float(*(const uint16_t *)(vertex_data + 4), 16); in lvp_build_acceleration_structure()
434 coords[3] = _mesa_unorm_to_float(*(const uint16_t *)(vertex_data + 6), 16); in lvp_build_acceleration_structure()
443 coords[0] = _mesa_unorm_to_float(*(const uint8_t *)(vertex_data + 0), 8); in lvp_build_acceleration_structure()
444 coords[1] = _mesa_unorm_to_float(*(const uint8_t *)(vertex_data + 1), 8); in lvp_build_acceleration_structure()
455 coords[0] = _mesa_unorm_to_float(*(const uint8_t *)(vertex_data + 0), 8); in lvp_build_acceleration_structure()
456 coords[1] = _mesa_unorm_to_float(*(const uint8_t *)(vertex_data + 1), 8); in lvp_build_acceleration_structure()
[all …]
/aosp_15_r20/external/mesa3d/src/util/format/
H A Dformat_utils.h43 _mesa_unorm_to_float(unsigned x, unsigned src_bits) in _mesa_unorm_to_float() function
60 return _mesa_float_to_half(_mesa_unorm_to_float(x, src_bits)); in _mesa_unorm_to_half()
/aosp_15_r20/external/mesa3d/src/mesa/main/
H A Dformat_utils.c866 SWIZZLE_CONVERT(float, uint8_t, _mesa_unorm_to_float(src, 8)); in convert_float()
880 SWIZZLE_CONVERT(float, uint16_t, _mesa_unorm_to_float(src, 16)); in convert_float()
894 SWIZZLE_CONVERT(float, uint32_t, _mesa_unorm_to_float(src, 32)); in convert_float()
/aosp_15_r20/external/mesa3d/src/intel/isl/
H A Disl_format.c1374 float srgb = _mesa_unorm_to_float(packed, layout->bits); in unpack_channel()
1378 unpacked.f32 = _mesa_unorm_to_float(packed, layout->bits); in unpack_channel()