summaryrefslogtreecommitdiffstats
path: root/progs/vp/rcp.txt
diff options
context:
space:
mode:
Diffstat (limited to 'progs/vp/rcp.txt')
-rw-r--r--progs/vp/rcp.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/progs/vp/rcp.txt b/progs/vp/rcp.txt
new file mode 100644
index 00000000000..e16292bd00a
--- /dev/null
+++ b/progs/vp/rcp.txt
@@ -0,0 +1,7 @@
+!!ARBvp1.0
+TEMP R0;
+ADD R0, vertex.color.x, vertex.color.x;
+RCP result.color, R0.x;
+MOV result.position, vertex.position;
+END
+