summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/fragment-shader/frag-srcmod-neg.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests/graw/fragment-shader/frag-srcmod-neg.sh')
-rw-r--r--src/gallium/tests/graw/fragment-shader/frag-srcmod-neg.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gallium/tests/graw/fragment-shader/frag-srcmod-neg.sh b/src/gallium/tests/graw/fragment-shader/frag-srcmod-neg.sh
new file mode 100644
index 0000000..a08ab6d
--- /dev/null
+++ b/src/gallium/tests/graw/fragment-shader/frag-srcmod-neg.sh
@@ -0,0 +1,11 @@
+FRAG
+
+DCL IN[0], COLOR, LINEAR
+DCL OUT[0], COLOR
+
+DCL TEMP[0]
+
+SUB TEMP[0], IN[0], IN[0].yzxw
+MOV OUT[0], -TEMP[0]
+
+END