Searched refs:_mesa_unorm_to_float (Results 1 – 4 of 4) sorted by relevance
/third_party/mesa3d/src/util/format/ |
D | format_utils.h | 43 _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/ |
D | radv_acceleration_structure.c | 333 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/ |
D | format_utils.c | 982 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/ |
D | isl_format.c | 1321 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()
|