Home
last modified time | relevance | path

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

/third_party/mesa3d/src/util/format/
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()
/third_party/mesa3d/src/amd/vulkan/
Dradv_acceleration_structure.c333 coords[0] = _mesa_unorm_to_float(*(const uint16_t *)(v_data + 0), 16); in build_triangles()
334 coords[1] = _mesa_unorm_to_float(*(const uint16_t *)(v_data + 2), 16); in build_triangles()
345 coords[0] = _mesa_unorm_to_float(*(const uint16_t *)(v_data + 0), 16); in build_triangles()
346 coords[1] = _mesa_unorm_to_float(*(const uint16_t *)(v_data + 2), 16); in build_triangles()
347 coords[2] = _mesa_unorm_to_float(*(const uint16_t *)(v_data + 4), 16); in build_triangles()
348 coords[3] = _mesa_unorm_to_float(*(const uint16_t *)(v_data + 6), 16); in build_triangles()
357 coords[0] = _mesa_unorm_to_float(*(const uint8_t *)(v_data + 0), 8); in build_triangles()
358 coords[1] = _mesa_unorm_to_float(*(const uint8_t *)(v_data + 1), 8); in build_triangles()
369 coords[0] = _mesa_unorm_to_float(*(const uint8_t *)(v_data + 0), 8); in build_triangles()
370 coords[1] = _mesa_unorm_to_float(*(const uint8_t *)(v_data + 1), 8); in build_triangles()
[all …]
/third_party/mesa3d/src/mesa/main/
Dformat_utils.c982 SWIZZLE_CONVERT(float, uint8_t, _mesa_unorm_to_float(src, 8)); in convert_float()
996 SWIZZLE_CONVERT(float, uint16_t, _mesa_unorm_to_float(src, 16)); in convert_float()
1010 SWIZZLE_CONVERT(float, uint32_t, _mesa_unorm_to_float(src, 32)); in convert_float()
/third_party/mesa3d/src/intel/isl/
Disl_format.c1321 float srgb = _mesa_unorm_to_float(packed, layout->bits); in unpack_channel()
1325 unpacked.f32 = _mesa_unorm_to_float(packed, layout->bits); in unpack_channel()