summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2009-12-23 12:40:19 -0500
committerZack Rusin <[email protected]>2009-12-25 05:52:18 -0500
commit8a39f5dfdd7901e59665e2b7513e9466666895b3 (patch)
treed630af4033facf8458b901d4c818292bbcc724f4 /src
parentf658fa5e8febc41836980ad1b4cb385445833a02 (diff)
python/gs: fix the example
Diffstat (limited to 'src')
-rw-r--r--src/gallium/state_trackers/python/samples/gs.py8
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 f4f083e547c..1ceead5f17c 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)