From 14ee790df77c810f187860a8d51096173ff39fcf Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Wed, 14 Aug 2013 01:08:38 -0400 Subject: [PATCH] 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" --- src/gallium/drivers/nv30/nv30_format.c | 3 --- 1 file changed, 3 deletions(-) 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), -- 2.30.2