From 155033bbb3a577945f75ee8b67999f6393580531 Mon Sep 17 00:00:00 2001 From: Fritz Koenig Date: Thu, 23 Apr 2020 20:32:17 -0700 Subject: [PATCH] freedreno: allow FMT6_8_UNORM as a UBWC format FMT6_8_UNORM is necessary for NV12 textures. Part-of: --- src/gallium/drivers/freedreno/a6xx/fd6_resource.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_resource.c b/src/gallium/drivers/freedreno/a6xx/fd6_resource.c index 30a42ea557e..73434e0e41c 100644 --- a/src/gallium/drivers/freedreno/a6xx/fd6_resource.c +++ b/src/gallium/drivers/freedreno/a6xx/fd6_resource.c @@ -83,6 +83,7 @@ ok_ubwc_format(struct fd_resource *rsc, enum pipe_format pfmt) case FMT6_8_8_SINT: case FMT6_8_8_UINT: case FMT6_8_8_UNORM: + case FMT6_8_UNORM: case FMT6_Z24_UNORM_S8_UINT: case FMT6_Z24_UNORM_S8_UINT_AS_R8G8B8A8: return true; -- 2.30.2