summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/geometry-shader/mov-cb-2d.txt
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2010-06-15 12:14:18 -0400
committerZack Rusin <[email protected]>2010-06-15 12:14:18 -0400
commit726f18ee695df2ac7656b2034d49fca4be98fb30 (patch)
tree42a1509471135e2000a6fffc24fa99769bdd6489 /src/gallium/tests/graw/geometry-shader/mov-cb-2d.txt
parentec82e9fbfab7a7c1e8dc9870204545f2624ebd82 (diff)
graw: test multiple cb's in geometry shaders
Diffstat (limited to 'src/gallium/tests/graw/geometry-shader/mov-cb-2d.txt')
-rw-r--r--src/gallium/tests/graw/geometry-shader/mov-cb-2d.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/gallium/tests/graw/geometry-shader/mov-cb-2d.txt b/src/gallium/tests/graw/geometry-shader/mov-cb-2d.txt
new file mode 100644
index 00000000000..058acfbcb5a
--- /dev/null
+++ b/src/gallium/tests/graw/geometry-shader/mov-cb-2d.txt
@@ -0,0 +1,24 @@
+GEOM
+PROPERTY GS_INPUT_PRIMITIVE TRIANGLES
+PROPERTY GS_OUTPUT_PRIMITIVE TRIANGLE_STRIP
+DCL IN[][0], POSITION, CONSTANT
+DCL IN[][1], COLOR, CONSTANT
+DCL OUT[0], POSITION, CONSTANT
+DCL OUT[1], COLOR, CONSTANT
+DCL CONST[1][0..6]
+
+MOV OUT[0], IN[0][0]
+MOV OUT[1], CONST[1][0]
+EMIT
+
+MOV OUT[0], IN[1][0]
+MOV OUT[1], CONST[1][1]
+EMIT
+
+MOV OUT[0], IN[2][0]
+MOV OUT[1], CONST[1][4]
+EMIT
+
+ENDPRIM
+
+END