aco: Use ASSERTED to avoid unused variable warning.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9632>
This commit is contained in:
Timur Kristóf 2021-03-16 20:10:51 +01:00 committed by Marge Bot
parent 1d571c6bc1
commit 8205cce007

View file

@ -234,7 +234,7 @@ void handle_exact_loops(wqm_ctx& ctx, exec_ctx& exec_ctx, unsigned preheader)
}
assert(parent_branch >= 0);
Block& branch = exec_ctx.program->blocks[parent_branch];
ASSERTED Block& branch = exec_ctx.program->blocks[parent_branch];
assert(branch.kind & block_kind_branch);
if (ctx.branch_wqm[parent_branch]) {
/* The branch can't be done in Exact because some other blocks in it