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