From: Fritz Koenig Date: Fri, 24 Apr 2020 03:32:17 +0000 (-0700) Subject: freedreno: allow FMT6_8_UNORM as a UBWC format X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=155033bbb3a577945f75ee8b67999f6393580531;p=mesa.git freedreno: allow FMT6_8_UNORM as a UBWC format FMT6_8_UNORM is necessary for NV12 textures. Part-of: --- 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;