summaryrefslogtreecommitdiffstats
path: root/progs/vp/exp.txt
diff options
context:
space:
mode:
Diffstat (limited to 'progs/vp/exp.txt')
-rw-r--r--progs/vp/exp.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/progs/vp/exp.txt b/progs/vp/exp.txt
index 601aae7d715..53ce71db965 100644
--- a/progs/vp/exp.txt
+++ b/progs/vp/exp.txt
@@ -1,5 +1,6 @@
-!!VP1.0
-EXP R0, v[COL0].x;
-ADD o[COL0], R0.z, -R0.w;
-MOV o[HPOS], v[OPOS];
+!!ARBvp1.0
+TEMP R0;
+EXP R0, vertex.color.x;
+SUB result.color, R0.z, R0.w;
+MOV result.position, vertex.position;
END