nv50: add support for R8G8_R8B8 and G8R8_B8R8 formats
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Fri, 9 Mar 2012 14:17:36 +0000 (15:17 +0100)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Fri, 9 Mar 2012 14:21:01 +0000 (15:21 +0100)
src/gallium/drivers/nv50/nv50_formats.c

index f9c413c..14dc337 100644 (file)
@@ -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),