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 664c31e9991c3cced9203793504321f4216bae6c..4367fbb2060b0e600f7b8e2d57c5e222726e5686 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),