freedreno/a6xx: Handle non-UBWC surface views
authorRob Clark <robdclark@chromium.org>
Sat, 12 Jun 2021 18:41:47 +0000 (11:41 -0700)
committerMarge Bot <eric+marge@anholt.net>
Sun, 13 Jun 2021 19:10:08 +0000 (19:10 +0000)
commit0c3079ce2d0421d800c83b138ab936f5521657c4
treefc150aef2b1bf4f9e8952a1121b40b4b4a40d974
parent2964f32cc9d186a96bc6454cac053c4ff588bb48
freedreno/a6xx: Handle non-UBWC surface views

Similar to sampler views and shader images, if we get a surface view
with a non-UBWC compatible format while the underlying resource is UBWC,
we need to demote to uncompressed.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11343>
src/gallium/drivers/freedreno/a6xx/fd6_context.c
src/gallium/drivers/freedreno/ci/piglit-freedreno-a630-fails.txt
src/gallium/drivers/freedreno/freedreno_state.c
src/gallium/drivers/freedreno/freedreno_state.h