summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Krol <michal@vmware.com>2009-04-01 10:56:53 +0200
committerMichal Krol <michal@vmware.com>2009-04-01 10:56:53 +0200
commit5d8677469b369d2b6a89519be7e379abdf4015d3 (patch)
tree77e4ea33ceed2d652b9099d66313004019b6a04b
parent541d74423abf04c6cdcf545f853980b959a70ec8 (diff)
python/regress: Add vertex shader test for XPD.
-rw-r--r--src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-xpd.sh8
-rw-r--r--src/gallium/state_trackers/python/tests/regress/vertex-shader/vertex-shader.py1
2 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-xpd.sh b/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-xpd.sh
new file mode 100644
index 0000000000..6c767cc017
--- /dev/null
+++ b/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-xpd.sh
@@ -0,0 +1,8 @@
+VERT1.1
+DCL IN[0], POSITION
+DCL IN[1], COLOR
+DCL OUT[0], POSITION
+DCL OUT[1], COLOR
+XPD OUT[0], IN[0], IN[1]
+MOV OUT[1], IN[1]
+END
diff --git a/src/gallium/state_trackers/python/tests/regress/vertex-shader/vertex-shader.py b/src/gallium/state_trackers/python/tests/regress/vertex-shader/vertex-shader.py
index 7e0b561d79..c207a46ec3 100644
--- a/src/gallium/state_trackers/python/tests/regress/vertex-shader/vertex-shader.py
+++ b/src/gallium/state_trackers/python/tests/regress/vertex-shader/vertex-shader.py
@@ -218,6 +218,7 @@ def main():
'mov',
'mul',
'sub',
+ 'xpd',
]
html = '''<html>