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
|
@ -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…
Reference in New Issue