mesa/src/broadcom
Jose Maria Casanova Crespo c01759a704 broadcom/compiler: move nir_lower_undef_to_zero out of optimization loop
The combination of nir_opt_if and nir_lower_undef_to_zero running inside
the optimization loop could make it to not converge.

This was exercised by ollama running gemma3 compute shaders.

Removing the pass from the optimization loop results in No changes in
shader-db.

Assisted-by: Claude Opus 4.6
Fixes: cbe24a0e9c ("broadcom/compiler: use nir_lower_undef_to_zero")
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
(cherry picked from commit 2cd51a6efc)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>
2026-05-13 15:39:16 +02:00
..
ci vc4: fix unwanted buffer release on uploader 2026-04-01 11:45:35 +02:00
cle broadcom/cle: bump up gen version for v3d 2026-02-04 18:39:35 +01:00
clif build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
common broadcom/common: fix V3D 7.1 TFU ICFG IFORMAT values 2026-04-01 11:45:33 +02:00
compiler broadcom/compiler: move nir_lower_undef_to_zero out of optimization loop 2026-05-13 15:39:16 +02:00
drm-shim v3d/drm-shim: add support for multisync 2025-08-04 08:06:36 +02:00
ds mesa: replace most occurrences of getenv() with os_get_option() 2025-11-06 04:36:13 +00:00
perfcntrs broadcom: Add perfcount library 2024-12-02 14:13:24 +00:00
qpu broadcom/compiler: enable umul24 and imul24 ALU opcodes 2025-11-26 13:32:39 +00:00
simulator treewide: use UTIL_DYNARRAY_INIT 2025-11-04 13:39:48 +00:00
vulkan v3dv: improve barrier handling for secondary command buffers 2026-01-21 07:37:49 +00:00
.editorconfig
meson.build broadcom: Add perfetto data source 2024-12-13 12:29:11 +00:00