freedreno/a6xx: re-enable UBWC for depth/stencil
authorRob Clark <robdclark@chromium.org>
Wed, 12 Jun 2019 20:24:33 +0000 (13:24 -0700)
committerRob Clark <robdclark@chromium.org>
Sat, 15 Jun 2019 14:33:04 +0000 (07:33 -0700)
Now that we can blit depth/stencil in a way that plays nicely with UBWC,
re-enable it.

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

index 7678e54bc73e07b50e38b0c15b2b97c88a75e1d0..9ad216870e8a8e35bac22bde492f4d1825de90af 100644 (file)
@@ -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;