summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/geometry-shader
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2010-06-16 05:25:20 -0400
committerZack Rusin <[email protected]>2010-06-16 05:33:46 -0400
commit9829ec2ad8cf74c6dbc7d8afbf36ddd5c5210d74 (patch)
tree2d8bd899db2e768e64f42694271c11117854f919 /src/gallium/tests/graw/geometry-shader
parent88308ea1730df07beadd81cbce942a3aecb5d873 (diff)
graw: add a gs test for non-sequential inputs
Diffstat (limited to 'src/gallium/tests/graw/geometry-shader')
-rw-r--r--src/gallium/tests/graw/geometry-shader/mov-non-seq.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/gallium/tests/graw/geometry-shader/mov-non-seq.txt b/src/gallium/tests/graw/geometry-shader/mov-non-seq.txt
new file mode 100644
index 00000000000..e0f65748ec6
--- /dev/null
+++ b/src/gallium/tests/graw/geometry-shader/mov-non-seq.txt
@@ -0,0 +1,23 @@
+GEOM
+PROPERTY GS_INPUT_PRIMITIVE TRIANGLES
+PROPERTY GS_OUTPUT_PRIMITIVE TRIANGLE_STRIP
+DCL IN[][0], POSITION, CONSTANT
+DCL IN[][3], GENERIC[1], CONSTANT
+DCL OUT[0], POSITION, CONSTANT
+DCL OUT[1], COLOR, CONSTANT
+
+MOV OUT[0], IN[0][0]
+MOV OUT[1], IN[0][3]
+EMIT
+
+MOV OUT[0], IN[1][0]
+MOV OUT[1], IN[1][3]
+EMIT
+
+MOV OUT[0], IN[2][0]
+MOV OUT[1], IN[2][3]
+EMIT
+
+ENDPRIM
+
+END