summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2009-04-01 11:09:37 +0200
committerMichal Krol <[email protected]>2009-04-01 11:09:37 +0200
commit449bab61b3209d15d71ba7d5cc266f76ee16df2b (patch)
treeedb43709a46b28d050e88057933850d502d7cf4d /src/gallium/state_trackers
parent65cbe7e69c30a4ac91cfbc27a964a19b59d3cedd (diff)
python/regress: Add vertex shader DST test.
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-dst.sh11
-rw-r--r--src/gallium/state_trackers/python/tests/regress/vertex-shader/vertex-shader.py1
2 files changed, 12 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-dst.sh b/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-dst.sh
new file mode 100644
index 00000000000..dc5e0eb92e5
--- /dev/null
+++ b/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-dst.sh
@@ -0,0 +1,11 @@
+VERT1.1
+
+DCL IN[0], POSITION
+DCL IN[1], COLOR
+DCL OUT[0], POSITION
+DCL OUT[1], COLOR
+
+MOV OUT[0], IN[0]
+DST OUT[1], IN[1], IN[0]
+
+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 c207a46ec35..7b658165a7f 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
@@ -215,6 +215,7 @@ def main():
'add',
'dp3',
'dp4',
+ 'dst',
'mov',
'mul',
'sub',