aco: reset prefetch in the correct block after removing the exit
authorRhys Perry <pendingchaos02@gmail.com>
Wed, 20 Sep 2023 18:27:39 +0000 (19:27 +0100)
committerMarge Bot <emma+marge@anholt.net>
Mon, 25 Sep 2023 14:18:46 +0000 (14:18 +0000)
commit21db2e701746fca5d5be0b7135a1bd6c7345e789
tree4eb05b7958499e0f011606a771c4de618efb4aa6
parent1c21b3a62ad33da80010a6f988ec974b53089ea6
aco: reset prefetch in the correct block after removing the exit

fossil-db (navi31):
Totals from 279 (0.35% of 79332) affected shaders:
(no stat changes)

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Fixes: c778803d673f ("aco/assembler: change prefetch mode on GFX10.3+ during loops if beneficial")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25312>
src/amd/compiler/aco_assembler.cpp