mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-09 10:30:13 +01:00
zink: always check patch io during rework_io_vars
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28466>
This commit is contained in:
parent
11e988fa80
commit
a64f5ae9d7
1 changed files with 2 additions and 2 deletions
|
|
@ -5119,9 +5119,9 @@ rework_io_vars(nir_shader *nir, nir_variable_mode mode)
|
|||
}
|
||||
if (!found) {
|
||||
if (mode == nir_var_shader_out)
|
||||
found = nir->info.outputs_written || nir->info.outputs_read;
|
||||
found = nir->info.outputs_written || nir->info.outputs_read || nir->info.patch_outputs_written || nir->info.patch_outputs_read;
|
||||
else
|
||||
found = nir->info.inputs_read;
|
||||
found = nir->info.inputs_read || nir->info.patch_inputs_read;
|
||||
if (!found)
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue