Mesa (master): Revert "nv50,nvc0: remove bogus 64_FLOAT formats"

Ilia Mirkin imirkin at kemper.freedesktop.org
Tue Mar 24 00:59:31 UTC 2015


Module: Mesa
Branch: master
Commit: 43277fcd59b163a8bdd00d7875557bb71ecf48ff
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=43277fcd59b163a8bdd00d7875557bb71ecf48ff

Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Mon Mar 23 20:53:19 2015 -0400

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 <imirkin at alum.mit.edu>

---

 src/gallium/drivers/nouveau/nv50/nv50_formats.c |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/gallium/drivers/nouveau/nv50/nv50_formats.c b/src/gallium/drivers/nouveau/nv50/nv50_formats.c
index 6a1b11c..0f86ba1 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),
 };




More information about the mesa-commit mailing list