python/gs: fix the example
authorZack Rusin <zackr@vmware.com>
Wed, 23 Dec 2009 17:40:19 +0000 (12:40 -0500)
committerZack Rusin <zackr@vmware.com>
Fri, 25 Dec 2009 10:52:18 +0000 (05:52 -0500)
src/gallium/state_trackers/python/samples/gs.py

index f4f083e547c378e30748b856b146e5522c6fe5a9..1ceead5f17cf81cb4e5a54c1d4487e0ae9fee85d 100644 (file)
@@ -180,14 +180,14 @@ def test(dev):
         DCL OUT[1], COLOR, CONSTANT
         0:MOV OUT[0], IN[0][0]
         1:MOV OUT[1], IN[0][1]
-        2:EMIT_VERTEX
+        2:EMIT
         3:MOV OUT[0], IN[1][0]
         4:MOV OUT[1], IN[1][1]
-        5:EMIT_VERTEX
+        5:EMIT
         6:MOV OUT[0], IN[2][0]
         7:MOV OUT[1], IN[2][1]
-        8:EMIT_VERTEX
-        9:END_PRIMITIVE
+        8:EMIT
+        9:ENDPRIM
         10:END
     ''')
     ctx.set_geometry_shader(gs)