mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 17:30:20 +01:00
aco: cleanup force-waitcnt output
If we don't reset ctx.vm_cnt/gpr_map/etc, this will spam a lot of s_waitcnt instructions. Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17207>
This commit is contained in:
parent
9116b9f00d
commit
33641b2a26
1 changed files with 1 additions and 1 deletions
|
|
@ -352,7 +352,7 @@ kill(wait_imm& imm, Instruction* instr, wait_ctx& ctx, memory_sync_info sync_inf
|
|||
/* Force emitting waitcnt states right after the instruction if there is
|
||||
* something to wait for.
|
||||
*/
|
||||
return force_waitcnt(ctx, imm);
|
||||
force_waitcnt(ctx, imm);
|
||||
}
|
||||
|
||||
if (ctx.exp_cnt || ctx.vm_cnt || ctx.lgkm_cnt)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue