From 490baa6974e2d877fdb64f265d24df22b59dde7b Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Fri, 7 Jun 2019 12:14:10 -0700 Subject: [PATCH] freedreno/a6xx: disable UBWC for some formats 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 Reviewed-by: Kristian H. Kristensen --- src/gallium/drivers/freedreno/a6xx/fd6_resource.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_resource.c b/src/gallium/drivers/freedreno/a6xx/fd6_resource.c index d855ad1d9d2..33740623bdb 100644 --- a/src/gallium/drivers/freedreno/a6xx/fd6_resource.c +++ b/src/gallium/drivers/freedreno/a6xx/fd6_resource.c @@ -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: -- 2.30.2