commit | 472a20c5fc0feda0f074b4ff95fd7c7a6305c8cd | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason@jlekstrand.net> | Wed Sep 23 13:14:26 2020 -0500 |
committer | Marge Bot <eric+marge@anholt.net> | Thu Sep 24 21:01:30 2020 +0000 |
tree | 15bceb1d97290bab5e5127548c87ca5eafb4625e | |
parent | 7971918924dd84c2f33a5b7f0a8bf0c23ed994d8 [diff] |
radeonsi: Only call nir_lower_var_copies at the end of the opt loop In 283ad85944b5d, radeonsi started using nir_find_var_copies. However, it was also calling nir_lower_var_copies in the optimization loop and the two can end up fighting. The simple solution is to wait to lower copies until the end of the optimization loop. Fixes: 283ad85944b5d Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3550 Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6841>