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