nv30: U8_USCALED only works for size 4
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 14 Aug 2013 05:08:38 +0000 (01:08 -0400)
committerMaarten Lankhorst <maarten.lankhorst@canonical.com>
Thu, 15 Aug 2013 13:14:25 +0000 (15:14 +0200)
See https://bugs.freedesktop.org/show_bug.cgi?id=61635 for a sample
program. Changing it to use a vec4 makes it work. Remove the unsupported
formats.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "9.2 and 9.1" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nv30/nv30_format.c

index 664c31e..4367fbb 100644 (file)
@@ -160,9 +160,6 @@ nv30_vtxfmt_table[PIPE_FORMAT_COUNT] = {
    _(R8G8_UNORM          , U8_UNORM   , 2),
    _(R8G8B8_UNORM        , U8_UNORM   , 3),
    _(R8G8B8A8_UNORM      , U8_UNORM   , 4),
-   _(R8_USCALED          , U8_USCALED , 1),
-   _(R8G8_USCALED        , U8_USCALED , 2),
-   _(R8G8B8_USCALED      , U8_USCALED , 3),
    _(R8G8B8A8_USCALED    , U8_USCALED , 4),
    _(R16_SNORM           , V16_SNORM  , 1),
    _(R16G16_SNORM        , V16_SNORM  , 2),