Mesa (master): python/gs: fix the example

Zack Rusin zack at kemper.freedesktop.org
Fri Dec 25 02:55:46 PST 2009


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

Author: Zack Rusin <zackr at vmware.com>
Date:   Wed Dec 23 12:40:19 2009 -0500

python/gs: fix the example

---

 src/gallium/state_trackers/python/samples/gs.py |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/gallium/state_trackers/python/samples/gs.py b/src/gallium/state_trackers/python/samples/gs.py
index f4f083e..1ceead5 100644
--- a/src/gallium/state_trackers/python/samples/gs.py
+++ b/src/gallium/state_trackers/python/samples/gs.py
@@ -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)



More information about the mesa-commit mailing list