From: Ilia Mirkin Date: Tue, 24 Mar 2015 00:53:19 +0000 (-0400) Subject: Revert "nv50,nvc0: remove bogus 64_FLOAT formats" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=43277fcd59b163a8bdd00d7875557bb71ecf48ff;p=mesa.git Revert "nv50,nvc0: remove bogus 64_FLOAT formats" This reverts commit 20346808cf4f1ee4f320afaf18f94043fb146f2e. The conversion is actually done since these are the *B macro variants and no vtx format is supplied, which makes them go through the translate module. This restores the following piglit tests to passing: draw-vertices user gl-2.0-vertexattribpointer Signed-off-by: Ilia Mirkin --- diff --git a/src/gallium/drivers/nouveau/nv50/nv50_formats.c b/src/gallium/drivers/nouveau/nv50/nv50_formats.c index 6a1b11caaeb..0f86ba1de0d 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_formats.c +++ b/src/gallium/drivers/nouveau/nv50/nv50_formats.c @@ -436,4 +436,9 @@ const struct nv50_format nv50_format_table[PIPE_FORMAT_COUNT] = F3B(R32G32B32_FIXED, NONE, C0, C1, C2, xx, FLOAT, 32_32_32, V), F2B(R32G32_FIXED, NONE, C0, C1, xx, xx, FLOAT, 32_32, V), F1B(R32_FIXED, NONE, C0, xx, xx, xx, FLOAT, 32, V), + + C4B(R64G64B64A64_FLOAT, NONE, C0, C1, C2, C3, FLOAT, 32_32_32_32, V), + F3B(R64G64B64_FLOAT, NONE, C0, C1, C2, xx, FLOAT, 32_32_32, V), + F2B(R64G64_FLOAT, NONE, C0, C1, xx, xx, FLOAT, 32_32, V), + F1B(R64_FLOAT, NONE, C0, xx, xx, xx, FLOAT, 32, V), };