mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-17 12:30:33 +01:00
aco/insert_exec: reset exec temporary after combined p_demote + p_end_wqm
Otherwise the next divergent merge block might re-enable demoted invocations.
Fixes: 90faadae72 ("aco/insert_exec_mask: don't disable dead quads on demote in divergent CF")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12898
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12912
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34278>
This commit is contained in:
parent
ae75376c8f
commit
de45676efd
1 changed files with 1 additions and 0 deletions
|
|
@ -530,6 +530,7 @@ process_instructions(exec_ctx& ctx, Block* block, std::vector<aco_ptr<Instructio
|
|||
assert(info.exec.size() == 1);
|
||||
bld.sop2(Builder::s_andn2, Definition(exec, bld.lm), bld.def(s1, scc), info.exec[0].op,
|
||||
src);
|
||||
info.exec[0].op = Operand(exec, bld.lm);
|
||||
} else {
|
||||
Temp cond = bld.tmp(s1);
|
||||
info.exec[0].op = bld.sop2(Builder::s_andn2, bld.def(bld.lm), Definition(cond, scc),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue