nv50,nvc0: fix BGR10_A2UI vertex format
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 5 Jun 2016 19:00:36 +0000 (15:00 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sun, 5 Jun 2016 19:13:46 +0000 (15:13 -0400)
This is mostly academic as this is not reachable from GL, which only has
the packed RGB10_A2UI vertex format.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/nv50/nv50_formats.c

index 5b96567..34d32d1 100644 (file)
@@ -394,7 +394,7 @@ const struct nv50_vertex_format nv50_vertex_format[PIPE_FORMAT_COUNT] =
    VF(A, R10G10B10A2_SNORM, SNORM, 10_10_10_2, 0),
    VF(A, B10G10R10A2_SNORM, SNORM, 10_10_10_2, 1),
    VF(A, R10G10B10A2_UINT, UINT, 10_10_10_2, 0),
-   VF(A, B10G10R10A2_UINT, UINT, 10_10_10_2, 0),
+   VF(A, B10G10R10A2_UINT, UINT, 10_10_10_2, 1),
 
    VF(A, R11G11B10_FLOAT, FLOAT, 11_11_10, 0),