mesa/src
Karol Herbst d29063d4f2 nir: fix nir_round_int_to_float for fp16
fp16 has quite the limited value range and with bigger integers
nir_round_int_to_float might return Inf where it shouldn't depending on
the rounding mode.

Fixes conversions half_rt[npz]_(u)?(int|long) CL CTS tests.

Cc: mesa-stable
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Rob Clark <rob.clark@oss.qualcomm.com>
(cherry picked from commit e1ed7de274)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40359>
2026-03-11 23:21:09 +01:00
..
amd glsl: relax precision matching on unused uniforms ES 2026-03-11 23:21:09 +01:00
android_stub android_stub: fix missing prototypes issues 2025-12-02 20:03:02 +00:00
asahi hk: Fix crash in hk_handle_passthrough_gs 2026-02-25 14:22:24 +01:00
broadcom vc4: flush write jobs before BO replacement in DISCARD_WHOLE path 2026-03-11 23:21:09 +01:00
c11 c11/threads: fix build on c23 2025-11-10 07:01:50 +10:00
compiler nir: fix nir_round_int_to_float for fp16 2026-03-11 23:21:09 +01:00
drm-shim drm-shim: handle DRM_CAP_ADDFB2_MODIFIERS 2025-11-24 12:34:08 +00:00
egl mesa: retain const qualifier from pointer 2026-02-11 14:54:47 +00:00
etnaviv etnaviv/ci: Add gitlab-ci-inc.yml to file list 2026-01-19 20:46:38 +00:00
freedreno ir3: Fix constlen trimming when more than one stage is trimmed 2026-03-11 23:21:08 +01:00
gallium glsl: relax precision matching on unused uniforms ES 2026-03-11 23:21:09 +01:00
gbm gbm: Make documentation for gbm_bo_map more explicit 2025-12-29 10:05:38 +00:00
getopt
gfxstream gfxstream: Add VK_EXT_frame_boundary support 2026-01-20 20:27:10 +00:00
glx glx: fix const qualifier warnings found with C23 glibc support 2026-02-11 14:54:47 +00:00
gtest
imagination pvr: only specially handle gfx subcmd for BeginQuery 2026-03-11 23:21:08 +01:00
imgui imgui: Silence build warnings for imgui 2025-09-16 06:16:19 +00:00
intel anv: dirty all push constant stages in simple shader 2026-03-11 23:21:08 +01:00
kosmickrisp kk: Fix graphics pipeline serialization 2026-02-25 14:22:22 +01:00
loader loader: fix UB in wayland helper code. 2026-01-03 07:56:38 +00:00
mesa mesa: don't wraparound st_context::work_counter 2026-03-11 23:21:09 +01:00
microsoft vk: descriptors: sort bindings along with flags 2026-01-20 15:55:47 +00:00
nouveau nvk: Reenable compression support with nouveau 1.4.2 2026-02-11 14:54:47 +00:00
panfrost pan/kmod: Allow mmap() on foreign buffers 2026-03-11 23:21:09 +01:00
poly panvk/csf: implement VK_EXT_primitives_generated_query primitive restart 2026-01-21 09:03:34 +00:00
tool pps/meson: minor refactor for pps_deps 2025-11-08 18:39:00 -08:00
util nir: fix nir_round_int_to_float for fp16 2026-03-11 23:21:09 +01:00
virtio venus: sync protocol for strict aliasing compliance 2026-02-25 14:22:22 +01:00
vulkan vulkan/cmd_queue: Fixup stride for multi draws 2026-02-25 14:22:20 +01:00
x11 treewide: strip unneeded inc_gallium inc_gallium_aux 2025-11-13 22:01:43 +00:00
.clang-format util: Add sparse bitset data structure 2025-11-06 21:34:33 +00:00
meson.build kk: Add KosmicKrisp 2025-10-20 17:46:38 +00:00