aco: Don't eliminate exec write when it's used by a copy later.
authorTimur Kristóf <timur.kristof@gmail.com>
Fri, 21 May 2021 12:14:33 +0000 (14:14 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 25 May 2021 13:50:43 +0000 (13:50 +0000)
commitc783293e47b69ba7db1ad6e1f74643d70b81d59e
treeabaa08b6cf88010607f003267cb3cdfd846b6b7a
parent5f8778a583ff63b904dc44e983b624703a716e18
aco: Don't eliminate exec write when it's used by a copy later.

Fixes: bc130497472cb4ec4ec60695ed99b169d6681118
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10920>
src/amd/compiler/aco_ssa_elimination.cpp