Mesa (main): freedreno/a6xx: Enable UBWC for RGBA5551 (and 1555) textures.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Oct 5 20:44:49 UTC 2021


Module: Mesa
Branch: main
Commit: 70ecd3a119a21a656332980269884ca1a32e3ca0
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=70ecd3a119a21a656332980269884ca1a32e3ca0

Author: Emma Anholt <emma at anholt.net>
Date:   Fri Oct  1 16:31:50 2021 -0700

freedreno/a6xx: Enable UBWC for RGBA5551 (and 1555) textures.

Turnip has it enabled, and it seems to be happy in the CTS.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13046>

---

 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 7cbe0ad3fd4..5a9cf1ae6f8 100644
--- a/src/gallium/drivers/freedreno/a6xx/fd6_resource.c
+++ b/src/gallium/drivers/freedreno/a6xx/fd6_resource.c
@@ -76,6 +76,7 @@ ok_ubwc_format(struct pipe_screen *pscreen, enum pipe_format pfmt)
    case FMT6_32_32_SINT:
    case FMT6_32_32_UINT:
    case FMT6_5_6_5_UNORM:
+   case FMT6_5_5_5_1_UNORM:
    case FMT6_8_8_8_8_SINT:
    case FMT6_8_8_8_8_UINT:
    case FMT6_8_8_8_8_UNORM:



More information about the mesa-commit mailing list