freedreno: add modifier param to fd_try_shadow_resource()
authorRob Clark <robdclark@chromium.org>
Fri, 7 Jun 2019 16:23:16 +0000 (09:23 -0700)
committerRob Clark <robdclark@chromium.org>
Tue, 11 Jun 2019 17:55:27 +0000 (10:55 -0700)
commit3c9a31eb50ce598c89bc93a8ebb33acb5f3ba53f
tree08b65f41b0ff8c9bb811d249780f7d263ac45cab
parent3b05a120a319121dc5a174fc3a61fd96cc51b7d2
freedreno: add modifier param to fd_try_shadow_resource()

To uncompress UBWC, I want to re-use the shadow path, but we'll need a
way to request that the new buffer is not compressed.

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