summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2012-03-09 15:17:36 +0100
committerChristoph Bumiller <[email protected]>2012-03-09 15:21:01 +0100
commitfb3cb5c2dd9761ff697584a8f7943051dac24142 (patch)
tree841e3c7698acfb3a6fdf7f0a16895aaca712afb8 /src/gallium
parent95df2d0ca70f1b8e0eca0308d460c6e5ca650193 (diff)
nv50: add support for R8G8_R8B8 and G8R8_B8R8 formats
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/nv50/nv50_formats.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_formats.c b/src/gallium/drivers/nv50/nv50_formats.c
index f9c413c45b2..14dc3375aac 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),