mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
aco: fix nir_var_shader_out barriers for task shaders
These will be used in a future commit. Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22211>
This commit is contained in:
parent
d698bf0523
commit
6974e5479c
1 changed files with 2 additions and 1 deletions
|
|
@ -7242,7 +7242,8 @@ emit_scoped_barrier(isel_context* ctx, nir_intrinsic_instr* instr)
|
|||
storage_allowed |= storage_task_payload;
|
||||
|
||||
/* Allow VMEM output for all stages that can have outputs. */
|
||||
if (ctx->stage.hw != HWStage::CS && ctx->stage.hw != HWStage::FS)
|
||||
if ((ctx->stage.hw != HWStage::CS && ctx->stage.hw != HWStage::FS) ||
|
||||
ctx->stage.has(SWStage::TS))
|
||||
storage_allowed |= storage_vmem_output;
|
||||
|
||||
/* Workgroup barriers can hang merged shaders that can potentially have 0 threads in either half.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue