summaryrefslogtreecommitdiff
path: root/progs/gallium/python/tests/regress/vertex-shader/vert-max.sh
diff options
context:
space:
mode:
Diffstat (limited to 'progs/gallium/python/tests/regress/vertex-shader/vert-max.sh')
-rw-r--r--progs/gallium/python/tests/regress/vertex-shader/vert-max.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/progs/gallium/python/tests/regress/vertex-shader/vert-max.sh b/progs/gallium/python/tests/regress/vertex-shader/vert-max.sh
new file mode 100644
index 0000000000..af279ec7f4
--- /dev/null
+++ b/progs/gallium/python/tests/regress/vertex-shader/vert-max.sh
@@ -0,0 +1,13 @@
+VERT
+
+DCL IN[0], POSITION
+DCL IN[1], COLOR
+DCL OUT[0], POSITION
+DCL OUT[1], COLOR
+
+IMM FLT32 { 0.5, 0.5, 0.5, 0.0 }
+
+MOV OUT[0], IN[0]
+MAX OUT[1], IN[1], IMM[0]
+
+END