nir/dead_cf: Add missing load_global_bounded handling

Signed-off-by: Mary Guillemard <mary@mary.zone>
Fixes: caa0854da8 ("nir: plumb load_global_bounded")
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Reviewed-by: Mel Henning <mhenning@darkrefraction.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40543>
This commit is contained in:
Mary Guillemard 2026-03-20 18:22:37 +01:00 committed by Marge Bot
parent 6013667d61
commit bb6fc8cc20

View file

@ -218,6 +218,7 @@ node_is_dead(nir_cf_node *node)
case nir_intrinsic_load_deref:
case nir_intrinsic_load_ssbo:
case nir_intrinsic_load_global:
case nir_intrinsic_load_global_bounded:
case nir_intrinsic_load_ssbo_intel:
case nir_intrinsic_load_ssbo_ir3:
/* If there's a memory barrier after the loop, a load might be