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