summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/fragment-shader/frag-tempx.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests/graw/fragment-shader/frag-tempx.sh')
-rw-r--r--src/gallium/tests/graw/fragment-shader/frag-tempx.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gallium/tests/graw/fragment-shader/frag-tempx.sh b/src/gallium/tests/graw/fragment-shader/frag-tempx.sh
new file mode 100644
index 00000000000..81bcad2d65c
--- /dev/null
+++ b/src/gallium/tests/graw/fragment-shader/frag-tempx.sh
@@ -0,0 +1,14 @@
+FRAG
+
+DCL IN[0], COLOR, LINEAR
+DCL OUT[0], COLOR
+
+DCL TEMPX[0][0..1]
+
+IMM FLT32 { -0.5, -0.4, -0.6, 0.0 }
+
+ADD TEMPX[0][0], IN[0], IMM[0]
+ADD TEMPX[0][1], IN[0], IMM[0]
+ABS OUT[0], TEMPX[0][1]
+
+END