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