From: Rob Clark Date: Wed, 12 Jun 2019 20:24:33 +0000 (-0700) Subject: freedreno/a6xx: re-enable UBWC for depth/stencil X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a417c323adec50c7d5abb5d6a7e511dbb96b57b8;p=mesa.git 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 --- 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;