summaryrefslogtreecommitdiff
path: root/progs/vp/rsq.txt
diff options
context:
space:
mode:
Diffstat (limited to 'progs/vp/rsq.txt')
-rw-r--r--progs/vp/rsq.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/progs/vp/rsq.txt b/progs/vp/rsq.txt
new file mode 100644
index 0000000000..3e3f3251ee
--- /dev/null
+++ b/progs/vp/rsq.txt
@@ -0,0 +1,7 @@
+!!ARBvp1.0
+TEMP R0;
+MUL R0, vertex.color, {3.0}.x;
+RSQ result.color, R0.x;
+MOV result.position, vertex.position;
+END
+