projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d571c6
)
aco: Use ASSERTED to avoid unused variable warning.
author
Timur Kristóf
<timur.kristof@gmail.com>
Tue, 16 Mar 2021 19:10:51 +0000
(20:10 +0100)
committer
Marge Bot
<eric+marge@anholt.net>
Tue, 16 Mar 2021 21:46:52 +0000
(21:46 +0000)
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>
src/amd/compiler/aco_insert_exec_mask.cpp
patch
|
blob
|
history
diff --git
a/src/amd/compiler/aco_insert_exec_mask.cpp
b/src/amd/compiler/aco_insert_exec_mask.cpp
index
49367e3
..
20df892
100644
(file)
--- a/
src/amd/compiler/aco_insert_exec_mask.cpp
+++ b/
src/amd/compiler/aco_insert_exec_mask.cpp
@@
-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