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:
Rhys Perry 2022-06-23 16:30:17 +01:00 committed by Marge Bot
parent 9116b9f00d
commit 33641b2a26
1 changed files with 1 additions and 1 deletions

View File

@ -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)