mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
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:
parent
3ae9f0cd0a
commit
59a547cba4
1 changed files with 5 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue