dxil/nir: Remove nir_jump_continue from lower_subgroup_scan()

We are going to disallow continue statements without
loop continue constructs.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39942>
This commit is contained in:
Daniel Schürmann 2026-02-11 11:19:33 +01:00 committed by Marge Bot
parent ebfb9b9479
commit 7e6dfb9f74

View file

@ -2113,10 +2113,11 @@ lower_subgroup_scan(nir_builder *b, nir_intrinsic_instr *intr, void *data)
nir_pop_if(b, if_active_thread);
nir_store_var(b, loop_counter_var, nir_iadd_imm(b, loop_counter, 1), 1);
nir_jump(b, nir_jump_continue);
nir_push_else(b, nif);
nir_jump(b, nir_jump_break);
nir_pop_if(b, nif);
nir_jump(b, nir_jump_break);
nir_pop_loop(b, loop);
result = nir_load_var(b, result_var);