aco: execute branch instructions in WQM if necessary
authorDaniel Schürmann <daniel@schuermann.dev>
Mon, 10 Aug 2020 14:56:25 +0000 (16:56 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 11 Aug 2020 15:35:59 +0000 (15:35 +0000)
commitfdb97d3d2914c8f887a7968432db4fdbd35d8376
tree1bdd7097e62455c24e7edab9d625e186c1d834b9
parent678cb6d248f567468620079093ae4235c0a138cc
aco: execute branch instructions in WQM if necessary

It could happen that only the branch condition was computed in WQM
and not the branch instruction.
There is now some rendundancy which should be cleaned up.

Fixes: 3817fa7a4d1f51c385b28a2e45a1edf227526028 ('aco: fix WQM handling in nested loops')
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6260>
src/amd/compiler/aco_insert_exec_mask.cpp