summaryrefslogtreecommitdiff
path: root/progs/fp/cmp.txt
diff options
context:
space:
mode:
Diffstat (limited to 'progs/fp/cmp.txt')
-rw-r--r--progs/fp/cmp.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/progs/fp/cmp.txt b/progs/fp/cmp.txt
new file mode 100644
index 0000000000..78451609a3
--- /dev/null
+++ b/progs/fp/cmp.txt
@@ -0,0 +1,5 @@
+!!ARBfp1.0
+TEMP R0;
+SUB R0, {0.5}.x, fragment.color;
+CMP result.color, R0, fragment.color, {0.0}.x;
+END