Home
last modified time | relevance | path

Searched refs:_mesa_float_to_unorm (Results 1 – 12 of 12) sorted by relevance

/aosp_15_r20/external/mesa3d/src/util/format/
H A Dformat_utils.h70 _mesa_float_to_unorm(float x, unsigned dst_bits) in _mesa_float_to_unorm() function
83 return _mesa_float_to_unorm(_mesa_half_to_float(x), dst_bits); in _mesa_half_to_unorm()
/aosp_15_r20/external/mesa3d/src/mesa/main/
H A Dformat_utils.c983 SWIZZLE_CONVERT(uint8_t, float, _mesa_float_to_unorm(src, 8)); in convert_ubyte()
1115 SWIZZLE_CONVERT(uint16_t, float, _mesa_float_to_unorm(src, 16)); in convert_ushort()
1246 SWIZZLE_CONVERT(uint32_t, float, _mesa_float_to_unorm(src, 32)); in convert_uint()
H A Dpack.c1653 dst[i][0] = _mesa_float_to_unorm(tmp[i*4+0], 8); in _mesa_unpack_ubyte_rgba_row()
1654 dst[i][1] = _mesa_float_to_unorm(tmp[i*4+1], 8); in _mesa_unpack_ubyte_rgba_row()
1655 dst[i][2] = _mesa_float_to_unorm(tmp[i*4+2], 8); in _mesa_unpack_ubyte_rgba_row()
1656 dst[i][3] = _mesa_float_to_unorm(tmp[i*4+3], 8); in _mesa_unpack_ubyte_rgba_row()
/aosp_15_r20/external/mesa3d/src/asahi/lib/
H A Dagx_border.c129 return _mesa_float_to_unorm(uif(value), chan.size); in pack_channel()
/aosp_15_r20/external/mesa3d/docs/relnotes/
H A D19.1.6.rst86 - mesa: Fix \_mesa_float_to_unorm() on 32-bit systems.
H A D19.2.0.rst296 - mesa: Fix \_mesa_float_to_unorm() on 32-bit systems.
H A D19.3.0.rst2064 - mesa: Fix \_mesa_float_to_unorm() on 32-bit systems.
/aosp_15_r20/external/mesa3d/src/imagination/vulkan/
H A Dpvr_formats.c490 #define f32_to_unorm8(val) _mesa_float_to_unorm(val, 8)
491 #define f32_to_unorm16(val) _mesa_float_to_unorm(val, 16)
H A Dpvr_job_render.c1308 value.value = _mesa_float_to_unorm(depth_clear, 16); in pvr_frag_state_stream_init()
1312 value.value = _mesa_float_to_unorm(depth_clear, 24); in pvr_frag_state_stream_init()
/aosp_15_r20/external/mesa3d/src/nouveau/vulkan/
H A Dnvk_sampler.c265 bc_srgb[i] = _mesa_float_to_unorm(bc.float32[i], 8); in nvk_sampler_fill_header()
/aosp_15_r20/external/mesa3d/src/intel/isl/
H A Disl_format.c1276 packed = _mesa_float_to_unorm(srgb, layout->bits); in pack_channel()
1279 packed = _mesa_float_to_unorm(value->f32[i], layout->bits); in pack_channel()
/aosp_15_r20/external/mesa3d/src/asahi/vulkan/
H A Dhk_cmd_draw.c665 render->cr.isp_bgobjdepth = _mesa_float_to_unorm(clear_depth, 16); in hk_CmdBeginRendering()