summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/vertex-shader/vert-mad.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests/graw/vertex-shader/vert-mad.sh')
-rw-r--r--src/gallium/tests/graw/vertex-shader/vert-mad.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gallium/tests/graw/vertex-shader/vert-mad.sh b/src/gallium/tests/graw/vertex-shader/vert-mad.sh
new file mode 100644
index 00000000000..caf83a91e48
--- /dev/null
+++ b/src/gallium/tests/graw/vertex-shader/vert-mad.sh
@@ -0,0 +1,14 @@
+VERT
+
+DCL IN[0]
+DCL IN[1]
+DCL OUT[0], POSITION
+DCL OUT[1], COLOR
+
+IMM FLT32 { 0.5, 1.0, 1.0, 1.0 }
+IMM FLT32 { 0.5, 0.0, 0.0, 0.0 }
+
+MAD OUT[0], IN[0], IMM[0], IMM[1]
+MOV OUT[1], IN[1]
+
+END