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:
41b6020
)
aco/insert_exec_mask: set Exact mode after p_discard_if when necessary
author
Daniel Schürmann
<daniel@schuermann.dev>
Mon, 4 Sep 2023 07:46:25 +0000
(09:46 +0200)
committer
Marge Bot
<emma+marge@anholt.net>
Thu, 14 Sep 2023 09:25:22 +0000
(09:25 +0000)
Fixes:
5e9df85b1a4504c5b4162e77e139056dc80accc6
('aco: optimize discard_if when WQM is not needed afterwards')
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25038>
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
4a495be
..
74458ae
100644
(file)
--- a/
src/amd/compiler/aco_insert_exec_mask.cpp
+++ b/
src/amd/compiler/aco_insert_exec_mask.cpp
@@
-570,6
+570,7
@@
process_instructions(exec_ctx& ctx, Block* block, std::vector<aco_ptr<Instructio
(mask_type_exact | mask_type_global));
current_exec = get_exec_op(ctx.info[block->index].exec.back().first);
ctx.info[block->index].exec[0].first = Operand(bld.lm);
+ state = Exact;
}
}