graw: small fixups for the gs examples
authorZack Rusin <zackr@vmware.com>
Mon, 14 Jun 2010 14:48:40 +0000 (10:48 -0400)
committerZack Rusin <zackr@vmware.com>
Mon, 14 Jun 2010 14:49:16 +0000 (10:49 -0400)
src/gallium/tests/graw/geometry-shader/mov.txt
src/gallium/tests/graw/gs-test.c

index c37051d..97150a5 100644 (file)
@@ -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]
index e8c82ba..8d25fed 100644 (file)
@@ -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[] =