From c2c39a47a67ec584ea49aab85fe1258ef8176001 Mon Sep 17 00:00:00 2001 From: Connor Abbott Date: Fri, 1 Sep 2023 14:22:18 +0200 Subject: [PATCH] freedreno/fdl: Support PIPE_FORMAT_R5G5B5A1_UNORM on a6xx This is just a different swap of the same format. Part-of: --- 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 0e6b802baa9..586cdc2ae39 100644 --- a/src/freedreno/fdl/fd6_format_table.c +++ b/src/freedreno/fdl/fd6_format_table.c @@ -125,6 +125,7 @@ static const struct fd6_format formats[PIPE_FORMAT_COUNT] = { _TC(R5G6B5_UNORM, 5_6_5_UNORM, WZYX), _TC(B5G6R5_UNORM, 5_6_5_UNORM, WXYZ), + _TC(R5G5B5A1_UNORM, 5_5_5_1_UNORM, WZYX), _TC(B5G5R5A1_UNORM, 5_5_5_1_UNORM, WXYZ), _TC(B5G5R5X1_UNORM, 5_5_5_1_UNORM, WXYZ), _TC(A1R5G5B5_UNORM, 5_5_5_1_UNORM, ZYXW),