summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2015-03-23 20:53:19 -0400
committerIlia Mirkin <[email protected]>2015-03-23 20:57:52 -0400
commit43277fcd59b163a8bdd00d7875557bb71ecf48ff (patch)
tree4e01aa8de8f7303eaa40e0c8defe1e0e48bb0451 /src/gallium/drivers/nouveau
parent1110113a7f0b6f9b21dd26dee8e95a021041c71c (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau')
-rw-r--r--src/gallium/drivers/nouveau/nv50/nv50_formats.c5
1 files changed, 5 insertions, 0 deletions
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),
};