ir3: call nir_io_add_intrinsic_xfb_info after IO lowering

Needed by nir_opt_varyings.

Signed-off-by: Job Noorman <jnoorman@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40651>
This commit is contained in:
Job Noorman 2026-04-03 08:18:08 +02:00
parent 3ae9f0cd0a
commit 59a547cba4

View file

@ -957,6 +957,11 @@ ir3_nir_lower_io(nir_shader *s)
nir_var_shader_in | nir_var_shader_out,
&(nir_remove_dead_variables_options) {});
if (s->xfb_info) {
NIR_PASS(_, s, nir_opt_constant_folding);
NIR_PASS(_, s, nir_io_add_intrinsic_xfb_info);
}
s->info.io_lowered = true;
}