freedreno: Swap the whole resource layout in shadowing.
authorEric Anholt <eric@anholt.net>
Thu, 12 Dec 2019 20:49:12 +0000 (12:49 -0800)
committerMarge Bot <eric+marge@anholt.net>
Tue, 4 Feb 2020 23:18:00 +0000 (23:18 +0000)
commit6b586d5a48cc11ee216f18ac093a601917861cff
treeb16dc523f1ba4f638ab22525a767dde64d069c04
parentf9f5d3eb554e6096b762744125580a239d3809b0
freedreno: Swap the whole resource layout in shadowing.

Let's not have to worry about whether this unusual code path gets
updated whenever we adjust what is in the layout struct.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3059>
src/gallium/drivers/freedreno/freedreno_resource.c