mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 15:00:10 +01:00
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:
parent
1d571c6bc1
commit
8205cce007
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue