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