Mesa (main): freedreno/a6xx: Put R8_G8_B8_420_UNORM in the format table.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Oct 5 20:44:49 UTC 2021
Module: Mesa
Branch: main
Commit: 7952a17f7f01935bfb74d0782d3efa72b3aaa25a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7952a17f7f01935bfb74d0782d3efa72b3aaa25a
Author: Emma Anholt <emma at anholt.net>
Date: Fri Oct 1 14:19:28 2021 -0700
freedreno/a6xx: Put R8_G8_B8_420_UNORM in the format table.
turnip will use this format, even if we don't have the freedreno side
rigged up yet.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13046>
---
src/freedreno/fdl/fd6_format_table.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/freedreno/fdl/fd6_format_table.c b/src/freedreno/fdl/fd6_format_table.c
index 8ff7cba7abd..61e9c20d31b 100644
--- a/src/freedreno/fdl/fd6_format_table.c
+++ b/src/freedreno/fdl/fd6_format_table.c
@@ -349,6 +349,7 @@ static struct fd6_format formats[PIPE_FORMAT_COUNT] = {
_T_(G8R8_B8R8_UNORM, G8R8B8R8_422_UNORM, WZYX), /* UYVY */
_T_(R8_G8B8_420_UNORM, R8_G8B8_2PLANE_420_UNORM, WZYX),
+ _T_(R8_G8_B8_420_UNORM, R8_G8_B8_3PLANE_420_UNORM, WZYX),
};
/* clang-format on */
More information about the mesa-commit
mailing list