projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1110113
)
Revert "nv50,nvc0: remove bogus 64_FLOAT formats"
author
Ilia Mirkin
<imirkin@alum.mit.edu>
Tue, 24 Mar 2015 00:53:19 +0000
(20:53 -0400)
committer
Ilia Mirkin
<imirkin@alum.mit.edu>
Tue, 24 Mar 2015 00:57:52 +0000
(20:57 -0400)
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 <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nv50/nv50_formats.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nouveau/nv50/nv50_formats.c
b/src/gallium/drivers/nouveau/nv50/nv50_formats.c
index 6a1b11caaebdc94564fdbc6aeba672b951fe00d0..0f86ba1de0d0a532b0b33cfe5da2e353f89b53da 100644
(file)
--- 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),
};