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