From fb3cb5c2dd9761ff697584a8f7943051dac24142 Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Fri, 9 Mar 2012 15:17:36 +0100 Subject: [PATCH] nv50: add support for R8G8_R8B8 and G8R8_B8R8 formats --- src/gallium/drivers/nv50/nv50_formats.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/drivers/nv50/nv50_formats.c b/src/gallium/drivers/nv50/nv50_formats.c index f9c413c..14dc337 100644 --- a/src/gallium/drivers/nv50/nv50_formats.c +++ b/src/gallium/drivers/nv50/nv50_formats.c @@ -320,7 +320,9 @@ const struct nv50_format nv50_format_table[PIPE_FORMAT_COUNT] = I1A(R8_UINT, R8_UINT, C0, xx, xx, xx, UINT, 8, TRV), F3B(R8G8_B8G8_UNORM, NONE, C0, C1, C2, xx, UNORM, U8_YA8_V8_YB8, T), + F3B(G8R8_B8R8_UNORM, NONE, C1, C0, C2, xx, UNORM, U8_YA8_V8_YB8, T), F3B(G8R8_G8B8_UNORM, NONE, C0, C1, C2, xx, UNORM, YA8_U8_YB8_V8, T), + F3B(R8G8_R8B8_UNORM, NONE, C1, C0, C2, xx, UNORM, YA8_U8_YB8_V8, T), F1B(R1_UNORM, BITMAP, C0, xx, xx, xx, UNORM, BITMAP, T), -- 2.7.4