broadcom/compiler: use NIR_PASS for nir_schedule

This should work now that the pass returns progress and invalidates  metadata.

Reviewed-by: Emma Anholt <emma@anholt.net>
Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36291>
This commit is contained in:
Georg Lehmann 2025-07-22 18:25:32 +02:00 committed by Marge Bot
parent e1be7213e4
commit 3bc691f116

View file

@ -1811,7 +1811,7 @@ v3d_attempt_compile(struct v3d_compile *c)
.instr_delay_cb = v3d_instr_delay_cb,
.instr_delay_cb_data = c,
};
NIR_PASS_V(c->s, nir_schedule, &schedule_options);
NIR_PASS(_, c->s, nir_schedule, &schedule_options);
if (!c->disable_constant_ubo_load_sorting)
NIR_PASS(_, c->s, v3d_nir_sort_constant_ubo_loads, c);