From 828b3c18fbf54d8e63ab40f2f7affca25a5cb63b Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Sun, 25 Feb 2024 12:57:13 -0600 Subject: [PATCH] nil: Add PIPE_FORMAT_R5G5B5A1_UNORM Part-of: --- src/nouveau/nil/nil_format.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nouveau/nil/nil_format.c b/src/nouveau/nil/nil_format.c index b23c0f17027..1f8c8554d03 100644 --- a/src/nouveau/nil/nil_format.c +++ b/src/nouveau/nil/nil_format.c @@ -138,6 +138,7 @@ static const struct nil_format_info nil_format_infos[PIPE_FORMAT_COUNT] = SX(A, X32_S8X24_UINT, G, R32_B24G8, T), F3(A, B5G6R5_UNORM, R5G6B5, B, G, R, x, UNORM, B5G6R5, TD), + C4(A, R5G5B5A1_UNORM, NONE, R, G, B, A, UNORM, A1B5G5R5, T), C4(A, B5G5R5A1_UNORM, A1R5G5B5, B, G, R, A, UNORM, A1B5G5R5, TD), F3(A, B5G5R5X1_UNORM, X1R5G5B5, B, G, R, x, UNORM, A1B5G5R5, TD), C4(A, A4B4G4R4_UNORM, NONE, A, B, G, R, UNORM, A4B4G4R4, T),