summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Clark <robdclark@chromium.org>2019-06-10 15:57:43 -0700
committerRob Clark <robdclark@chromium.org>2019-06-11 10:55:27 -0700
commit81cc555e9a4337a8103024de32a2e1f325ee6986 (patch)
tree24db55fcdf8b6aefc8052673b5ecb1b2d98165ac
parent4f1319a17dc795cb76cd97853b15bfd1dfb02a14 (diff)
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>
-rw-r--r--src/gallium/drivers/freedreno/a6xx/fd6_resource.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_resource.c b/src/gallium/drivers/freedreno/a6xx/fd6_resource.c
index 33740623bdb..7678e54bc73 100644
--- a/src/gallium/drivers/freedreno/a6xx/fd6_resource.c
+++ b/src/gallium/drivers/freedreno/a6xx/fd6_resource.c
@@ -194,7 +194,6 @@ ok_ubwc_format(enum a6xx_color_fmt fmt)
case RB6_R8G8_SINT:
case RB6_R8G8_UINT:
case RB6_R8G8_UNORM:
- case RB6_X8Z24_UNORM:
return true;
default:
return false;