OSDN Git Service

nv50,nvc0: fix BGR10_A2UI vertex format
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 5 Jun 2016 19:00:36 +0000 (15:00 -0400)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 14 Jun 2016 14:48:37 +0000 (15:48 +0100)
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>
(cherry picked from commit 092ec3920f7f9a57fcc1c859a477e891752f5c1f)

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),