summaryrefslogtreecommitdiffstats
path: root/progs/vp/lg2.txt
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2005-11-01 06:28:39 +0000
committerKeith Whitwell <[email protected]>2005-11-01 06:28:39 +0000
commitd9f362a66733cf016a54bae0a97805223d930062 (patch)
tree28478ab0dd9e0c6ce5d11061ff9c4e0ae0ea407b /progs/vp/lg2.txt
parent05051037101dfa053798cf5ad91d1975fd1aa6a7 (diff)
standalone tests for vp instructions
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 00000000000..2f59b993a41
--- /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