From 2d5d054752fc7885d1dd4fedfd90888e66bd8d34 Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Fri, 12 Apr 2013 19:11:30 +0200 Subject: [PATCH] nv50: fix 4th component of Lx_SINT/UINT formats --- src/gallium/drivers/nv50/nv50_formats.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/gallium/drivers/nv50/nv50_formats.c b/src/gallium/drivers/nv50/nv50_formats.c index 35623aa81f4..66d9bbf00d9 100644 --- a/src/gallium/drivers/nv50/nv50_formats.c +++ b/src/gallium/drivers/nv50/nv50_formats.c @@ -207,16 +207,16 @@ const struct nv50_format nv50_format_table[PIPE_FORMAT_COUNT] = F3B(L8_UNORM, R8_UNORM, C0, C0, C0, xx, UNORM, 8, TB), F3B(L8_SRGB, R8_UNORM, C0, C0, C0, xx, UNORM, 8, TB), F3B(L8_SNORM, R8_SNORM, C0, C0, C0, xx, SNORM, 8, TC), - F3B(L8_SINT, R8_SINT, C0, C0, C0, xx, SINT, 8, TR), - F3B(L8_UINT, R8_UINT, C0, C0, C0, xx, UINT, 8, TR), + I3B(L8_SINT, R8_SINT, C0, C0, C0, xx, SINT, 8, TR), + I3B(L8_UINT, R8_UINT, C0, C0, C0, xx, UINT, 8, TR), F3B(L16_UNORM, R16_UNORM, C0, C0, C0, xx, UNORM, 16, TC), F3B(L16_SNORM, R16_SNORM, C0, C0, C0, xx, SNORM, 16, TC), F3B(L16_FLOAT, R16_FLOAT, C0, C0, C0, xx, FLOAT, 16, TB), - F3B(L16_SINT, R16_SINT, C0, C0, C0, xx, SINT, 16, TR), - F3B(L16_UINT, R16_UINT, C0, C0, C0, xx, UINT, 16, TR), + I3B(L16_SINT, R16_SINT, C0, C0, C0, xx, SINT, 16, TR), + I3B(L16_UINT, R16_UINT, C0, C0, C0, xx, UINT, 16, TR), F3B(L32_FLOAT, R32_FLOAT, C0, C0, C0, xx, FLOAT, 32, TB), - F3B(L32_SINT, R32_SINT, C0, C0, C0, xx, SINT, 32, TR), - F3B(L32_UINT, R32_UINT, C0, C0, C0, xx, UINT, 32, TR), + I3B(L32_SINT, R32_SINT, C0, C0, C0, xx, SINT, 32, TR), + I3B(L32_UINT, R32_UINT, C0, C0, C0, xx, UINT, 32, TR), C4B(I8_UNORM, R8_UNORM, C0, C0, C0, C0, UNORM, 8, TR), C4B(I8_SNORM, R8_SNORM, C0, C0, C0, C0, SNORM, 8, TR), -- 2.30.2