mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 20:18:12 +02:00
ir3: call nir_lower_io_vars_to_temporaries for GS outputs
Divergence analysis doesn't allow load_output on GS outputs so make sure they are lowered away. 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
c27f0406b0
commit
3ae9f0cd0a
1 changed files with 1 additions and 2 deletions
|
|
@ -454,8 +454,7 @@ ir3_nir_lower_io_vars_to_temporaries(nir_shader *s)
|
|||
s->info.stage == MESA_SHADER_FRAGMENT)
|
||||
lower_modes |= nir_var_shader_in;
|
||||
|
||||
if (s->info.stage != MESA_SHADER_TESS_CTRL &&
|
||||
s->info.stage != MESA_SHADER_GEOMETRY)
|
||||
if (s->info.stage != MESA_SHADER_TESS_CTRL)
|
||||
lower_modes |= nir_var_shader_out;
|
||||
|
||||
if (lower_modes) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue