From: Ilia Mirkin Date: Wed, 14 Aug 2013 05:08:38 +0000 (-0400) Subject: nv30: U8_USCALED only works for size 4 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=14ee790df77;p=mesa.git nv30: U8_USCALED only works for size 4 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 Cc: "9.2 and 9.1" --- diff --git a/src/gallium/drivers/nv30/nv30_format.c b/src/gallium/drivers/nv30/nv30_format.c index 664c31e9991..4367fbb2060 100644 --- a/src/gallium/drivers/nv30/nv30_format.c +++ b/src/gallium/drivers/nv30/nv30_format.c @@ -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),