mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 15:20:17 +01:00
aco: fix waitcnts for barriers at block ends
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Fixes: d1b9deee ('aco: improve waitcnt insertion around loops')
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
This commit is contained in:
parent
a3c8bc10aa
commit
517728477c
1 changed files with 3 additions and 0 deletions
|
|
@ -729,6 +729,9 @@ void handle_block(Program *program, Block& block, wait_ctx& ctx)
|
|||
}
|
||||
}
|
||||
|
||||
if (!queued_imm.empty())
|
||||
emit_waitcnt(ctx, new_instructions, queued_imm);
|
||||
|
||||
block.instructions.swap(new_instructions);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue