summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/fragment-shader/frag-cb-1d.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests/graw/fragment-shader/frag-cb-1d.sh')
-rw-r--r--src/gallium/tests/graw/fragment-shader/frag-cb-1d.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gallium/tests/graw/fragment-shader/frag-cb-1d.sh b/src/gallium/tests/graw/fragment-shader/frag-cb-1d.sh
new file mode 100644
index 0000000..85fb9ea
--- /dev/null
+++ b/src/gallium/tests/graw/fragment-shader/frag-cb-1d.sh
@@ -0,0 +1,13 @@
+FRAG
+
+DCL IN[0], COLOR, LINEAR
+DCL OUT[0], COLOR
+DCL CONST[1]
+DCL CONST[3]
+DCL TEMP[0..1]
+
+ADD TEMP[0], IN[0], CONST[1]
+RCP TEMP[1], CONST[3].xxxx
+MUL OUT[0], TEMP[0], TEMP[1]
+
+END