summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/tests/python
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2015-11-22 02:46:45 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2015-11-22 02:46:45 +0000
commit0784c49c0f8fcc8b3abd4c9286d9fd8bc089dd7d (patch)
treea6394e3e264a0f80b57f4ce0f5d9526aa543d4b0 /lib/mesa/src/gallium/tests/python
parentd91d0007eecf589ea5699e34aa4d748fce2c57b2 (diff)
import Mesa 11.0.6
Diffstat (limited to 'lib/mesa/src/gallium/tests/python')
-rw-r--r--lib/mesa/src/gallium/tests/python/tests/regress/fragment-shader/frag-cmp.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/mesa/src/gallium/tests/python/tests/regress/fragment-shader/frag-cmp.sh b/lib/mesa/src/gallium/tests/python/tests/regress/fragment-shader/frag-cmp.sh
new file mode 100644
index 000000000..6681d3f2d
--- /dev/null
+++ b/lib/mesa/src/gallium/tests/python/tests/regress/fragment-shader/frag-cmp.sh
@@ -0,0 +1,12 @@
+FRAG
+
+DCL IN[0], COLOR, LINEAR
+DCL OUT[0], COLOR
+
+IMM FLT32 { 1, 0, 0, 1 }
+IMM FLT32 { 0, 1, 1, 0 }
+IMM FLT32 { 1, 0,-1, 0 }
+
+CMP OUT[0], IMM[2], IMM[0], IMM[1]
+
+END