summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/vertex-shader/vert-cb-2d.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests/graw/vertex-shader/vert-cb-2d.sh')
-rw-r--r--src/gallium/tests/graw/vertex-shader/vert-cb-2d.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gallium/tests/graw/vertex-shader/vert-cb-2d.sh b/src/gallium/tests/graw/vertex-shader/vert-cb-2d.sh
new file mode 100644
index 0000000..39768d2
--- /dev/null
+++ b/src/gallium/tests/graw/vertex-shader/vert-cb-2d.sh
@@ -0,0 +1,12 @@
+VERT
+
+DCL IN[0]
+DCL IN[1]
+DCL OUT[0], POSITION
+DCL OUT[1], COLOR
+DCL CONST[1][1..2]
+
+MOV OUT[0], IN[0]
+MAD OUT[1], IN[1], CONST[1][2], CONST[1][1]
+
+END