From 81cc555e9a4337a8103024de32a2e1f325ee6986 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Mon, 10 Jun 2019 15:57:43 -0700 Subject: [PATCH] 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 Reviewed-by: Kristian H. Kristensen --- src/gallium/drivers/freedreno/a6xx/fd6_resource.c | 1 - 1 file changed, 1 deletion(-) 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; -- 2.30.2