projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f658fa5
)
python/gs: fix the example
author
Zack Rusin
<zackr@vmware.com>
Wed, 23 Dec 2009 17:40:19 +0000
(12:40 -0500)
committer
Zack Rusin
<zackr@vmware.com>
Fri, 25 Dec 2009 10:52:18 +0000
(
05:52
-0500)
src/gallium/state_trackers/python/samples/gs.py
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/python/samples/gs.py
b/src/gallium/state_trackers/python/samples/gs.py
index f4f083e547c378e30748b856b146e5522c6fe5a9..1ceead5f17cf81cb4e5a54c1d4487e0ae9fee85d 100644
(file)
--- 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:END
PRIM
10:END
''')
ctx.set_geometry_shader(gs)