freedreno: swap UBWC state in shadow path
authorRob Clark <robdclark@chromium.org>
Fri, 7 Jun 2019 16:29:53 +0000 (09:29 -0700)
committerRob Clark <robdclark@chromium.org>
Tue, 11 Jun 2019 17:55:27 +0000 (10:55 -0700)
commit12201d7a8be809d9dfbd682eeb4d73211ad96c00
tree2f45454022d2ba52f50334f537016294af4571be
parent3c9a31eb50ce598c89bc93a8ebb33acb5f3ba53f
freedreno: swap UBWC state in shadow path

It doesn't come up yet, as so far we only hit this path with linear
buffers.  But it will when we start re-using the shadow path for
uncompressing UBWC buffers.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
src/gallium/drivers/freedreno/freedreno_resource.c