freedreno: allow null discard box in shadow path
authorRob Clark <robdclark@chromium.org>
Fri, 7 Jun 2019 16:39:30 +0000 (09:39 -0700)
committerRob Clark <robdclark@chromium.org>
Tue, 11 Jun 2019 17:55:27 +0000 (10:55 -0700)
commitc6ae354299986c13c7be7d4716f4d20c3a47706c
tree1ec2ea32f54d9998a26487f1a4769623e522cc8a
parent12201d7a8be809d9dfbd682eeb4d73211ad96c00
freedreno: allow null discard box in shadow path

When uncompressing a UBWC buffer, we don't want to discard anything.

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