freedreno/a6xx: disable UBWC for some formats
authorRob Clark <robdclark@chromium.org>
Fri, 7 Jun 2019 19:14:10 +0000 (12:14 -0700)
committerRob Clark <robdclark@chromium.org>
Tue, 11 Jun 2019 17:55:27 +0000 (10:55 -0700)
An older blob claims to support UBWC w/ r32ui an r32i, but not r32f.
Results from deqp indicate that it doesn't work with r32ui and r32i.

This *could* also just mean that use as "IBO" (image) is more limited
than as texture, although blob also doesn't seem to bother to try to use
UBWC with images at all, so hard to know for sure.

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

index d855ad1d9d2db1e79aeebefdd158387f39956d07..33740623bdbbbdee4bd6e9e1f3c2fe06891e17ed 100644 (file)
@@ -186,8 +186,6 @@ ok_ubwc_format(enum a6xx_color_fmt fmt)
        case RB6_R32G32B32A32_UINT:
        case RB6_R32G32_SINT:
        case RB6_R32G32_UINT:
-       case RB6_R32_SINT:
-       case RB6_R32_UINT:
        case RB6_R5G6B5_UNORM:
        case RB6_R8G8B8A8_SINT:
        case RB6_R8G8B8A8_UINT: