mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-21 10:00:36 +01:00
nir/gather_info: Clear cross-invocation output mask.
Similar to how other I/O info is cleared at the beginning
of gather_info we should also clear the cross-invocation
mesh shader output mask.
Fixes: 112a856813
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18464>
This commit is contained in:
parent
c80d811403
commit
e58a5cca02
1 changed files with 3 additions and 0 deletions
|
|
@ -1046,6 +1046,9 @@ nir_shader_gather_info(nir_shader *shader, nir_function_impl *entrypoint)
|
|||
shader->info.tess.tcs_cross_invocation_inputs_read = 0;
|
||||
shader->info.tess.tcs_cross_invocation_outputs_read = 0;
|
||||
}
|
||||
if (shader->info.stage == MESA_SHADER_MESH) {
|
||||
shader->info.mesh.ms_cross_invocation_output_access = 0;
|
||||
}
|
||||
|
||||
if (shader->info.stage != MESA_SHADER_FRAGMENT)
|
||||
shader->info.writes_memory = shader->info.has_transform_feedback_varyings;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue