From a417c323adec50c7d5abb5d6a7e511dbb96b57b8 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Wed, 12 Jun 2019 13:24:33 -0700 Subject: [PATCH] freedreno/a6xx: re-enable UBWC for depth/stencil Now that we can blit depth/stencil in a way that plays nicely with UBWC, re-enable it. Signed-off-by: Rob Clark Reviewed-by: Kristian H. Kristensen --- src/gallium/drivers/freedreno/a6xx/fd6_resource.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_resource.c b/src/gallium/drivers/freedreno/a6xx/fd6_resource.c index 7678e54bc73..9ad216870e8 100644 --- a/src/gallium/drivers/freedreno/a6xx/fd6_resource.c +++ b/src/gallium/drivers/freedreno/a6xx/fd6_resource.c @@ -194,6 +194,8 @@ ok_ubwc_format(enum a6xx_color_fmt fmt) case RB6_R8G8_SINT: case RB6_R8G8_UINT: case RB6_R8G8_UNORM: + case RB6_X8Z24_UNORM: + case RB6_Z24_UNORM_S8_UINT: return true; default: return false; -- 2.30.2