Mesa (master): graw: small fixups for the gs examples

Zack Rusin zack at kemper.freedesktop.org
Mon Jun 14 07:49:24 PDT 2010


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

Author: Zack Rusin <zackr at vmware.com>
Date:   Mon Jun 14 10:48:40 2010 -0400

graw: small fixups for the gs examples

---

 src/gallium/tests/graw/geometry-shader/mov.txt |    2 +-
 src/gallium/tests/graw/gs-test.c               |    8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/gallium/tests/graw/geometry-shader/mov.txt b/src/gallium/tests/graw/geometry-shader/mov.txt
index c37051d..97150a5 100644
--- a/src/gallium/tests/graw/geometry-shader/mov.txt
+++ b/src/gallium/tests/graw/geometry-shader/mov.txt
@@ -11,7 +11,7 @@ MOV OUT[1], IN[0][1]
 EMIT
 
 MOV OUT[0], IN[1][0]
-MOV OUT[1], IN[0][1]
+MOV OUT[1], IN[1][1]
 EMIT
 
 MOV OUT[0], IN[2][0]
diff --git a/src/gallium/tests/graw/gs-test.c b/src/gallium/tests/graw/gs-test.c
index e8c82ba..8d25fed 100644
--- a/src/gallium/tests/graw/gs-test.c
+++ b/src/gallium/tests/graw/gs-test.c
@@ -85,13 +85,13 @@ static struct vertex vertices_strip[] =
      { 1, 0, 0, 1 },
      { 1, -1, 0, 1 } },
 
-   { {-0.9,  -0.9, 0.0, 1.0 },
+   { {-0.9,  0.9, 0.0, 1.0 },
      { 0, 1, 0, 1 },
-     { -1, -1, 0, 1 } },
+     { -1, 1, 0, 1 } },
 
-   { {-0.9,  0.9, 0.0, 1.0 },
+   { {-0.9,  -0.9, 0.0, 1.0 },
      { 1, 1, 0, 1 },
-     { -1, 1, 0, 1 } },
+     { -1, -1, 0, 1 } },
 };
 
 static float constants[] = 



More information about the mesa-commit mailing list