mesa/src
Rhys Perry b6f9a9092a nir/propagate_invariant: include derefs
In case an array index is calculated using floating point.

fossil-db (navi21):
Totals from 1339 (0.66% of 202427) affected shaders:
MaxWaves: 30368 -> 30396 (+0.09%)
Instrs: 805468 -> 817035 (+1.44%); split: -0.00%, +1.44%
CodeSize: 4084432 -> 4130548 (+1.13%); split: -0.01%, +1.14%
VGPRs: 62000 -> 61952 (-0.08%)
Latency: 3885607 -> 3903915 (+0.47%); split: -0.01%, +0.48%
InvThroughput: 726350 -> 742176 (+2.18%); split: -0.03%, +2.21%
VClause: 22187 -> 22676 (+2.20%); split: -0.14%, +2.34%
SClause: 14663 -> 14616 (-0.32%); split: -0.42%, +0.10%
Copies: 65726 -> 65840 (+0.17%); split: -0.09%, +0.26%
Branches: 21075 -> 21076 (+0.00%); split: -0.02%, +0.03%
PreVGPRs: 48970 -> 48941 (-0.06%)
VALU: 454510 -> 466082 (+2.55%); split: -0.01%, +2.55%
SALU: 130543 -> 130521 (-0.02%); split: -0.03%, +0.01%
VMEM: 43876 -> 43896 (+0.05%)

Most of these changes are elden_ring shaders which can no longer optimize
f2u32(u2f32()).

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40740>
2026-04-08 07:10:26 +00:00
..
amd ac,radv: remove AC_TRACKED_DB_VRS_OVERRIDE_CNTL as well 2026-04-07 22:07:48 +00:00
android_stub android_stub: fix missing prototypes issues 2025-12-02 20:03:02 +00:00
asahi nir/opt_varyings_bulk: add data parameter to optimize callback 2026-04-03 08:18:08 +02:00
broadcom broadcom/cle: parse once the XML spec 2026-04-06 09:17:15 +00:00
c11 c11/threads: fix build on c23 2025-11-10 07:01:50 +10:00
compiler nir/propagate_invariant: include derefs 2026-04-08 07:10:26 +00:00
drm-shim drm-shim: handle DRM_CAP_ADDFB2_MODIFIERS 2025-11-24 12:34:08 +00:00
egl meson: Add support for buidling zink + Turnip/KGSL 2026-03-31 15:00:29 +00:00
etnaviv etnaviv/ml: Skip all synthetic tests as we now have several real models 2026-03-23 12:57:09 +00:00
freedreno ci/freedreno: Move remaining lazor a618 jobs, retire device type 2026-04-07 11:55:59 +00:00
gallium xlib: clear currentDpy when switching current context 2026-04-07 22:39:49 +00:00
gbm gbm: Make documentation for gbm_bo_map more explicit 2025-12-29 10:05:38 +00:00
getopt
gfxstream gfxstream: fix goldfish guards on fence functions 2026-04-08 00:21:15 +00:00
glx meson: Add support for buidling zink + Turnip/KGSL 2026-03-31 15:00:29 +00:00
gtest
imagination pvr: fix dirty tracking for stencil ops 2026-03-28 19:39:01 +08:00
imgui
intel brw: brw_reg::nr for an accumulator is not part of the offset 2026-04-08 00:36:39 +00:00
kosmickrisp kk: Clean up gfx state flushing 2026-04-03 14:54:14 +00:00
loader kmsro: wire Zink up as a fallback 2026-03-13 18:54:26 +00:00
mesa st/bitmap: release the temporary bitmap sampler view 2026-04-02 08:34:54 +00:00
microsoft nir,treewide: add nir_image_intrinsic_type 2026-03-31 09:10:27 +00:00
nouveau nil: Fix Rust test link failure under Coverity due to missing -lm 2026-04-07 21:17:27 -07:00
panfrost pan/bi: Vectorize 8-bit ops up to v4i8 2026-04-06 21:39:25 +00:00
poly panvk/csf: implement VK_EXT_primitives_generated_query primitive restart 2026-01-21 09:03:34 +00:00
tool intel: Include available counter descriptions in the perfetto counter spec 2026-03-06 08:47:16 +00:00
util util: fix UBSan error with _mesa_bfloat16_bits_to_float 2026-04-08 07:10:26 +00:00
virtio venus/ci: Move android-angle-venus-tu-a618 to sc7180-trogdor-kingoftown 2026-04-03 09:25:14 +00:00
vulkan vulkan: adjust lowering of descriptor heaps 2026-04-07 18:55:49 +00:00
x11 meson: Add support for buidling zink + Turnip/KGSL 2026-03-31 15:00:29 +00:00
.clang-format util: Add sparse bitset data structure 2025-11-06 21:34:33 +00:00
meson.build gallium/dril: Don't use gbm if there is no gbm configured 2026-02-17 08:24:02 +00:00