freedreno/a6xx: disallow UBWC for z24s8
authorRob Clark <robdclark@chromium.org>
Mon, 10 Jun 2019 22:57:43 +0000 (15:57 -0700)
committerRob Clark <robdclark@chromium.org>
Tue, 11 Jun 2019 17:55:27 +0000 (10:55 -0700)
commit81cc555e9a4337a8103024de32a2e1f325ee6986
tree24db55fcdf8b6aefc8052673b5ecb1b2d98165ac
parent4f1319a17dc795cb76cd97853b15bfd1dfb02a14
freedreno/a6xx: disallow UBWC for z24s8

This is slightly annoying because it *mostly* works.. but we have some
issues to sort out about how to blit z24s8/x24s8/z24x8 with UBWC before
we can enable UBWC by default.  For now it is a step forward to at least
enable it for non-z/s while we figure out how to blit z24s8+UBWC.

(The basic issue is that pretending z24s8 is an equivalently sized rgba
format for the purpose of blitting falls apart when UBWC is in the
picture.)

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