summaryrefslogtreecommitdiffstats
path: root/progs/vp/ex2.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/ex2.txt
parent05051037101dfa053798cf5ad91d1975fd1aa6a7 (diff)
standalone tests for vp instructions
Diffstat (limited to 'progs/vp/ex2.txt')
-rw-r--r--progs/vp/ex2.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/progs/vp/ex2.txt b/progs/vp/ex2.txt
new file mode 100644
index 00000000000..bbef67bbb8a
--- /dev/null
+++ b/progs/vp/ex2.txt
@@ -0,0 +1,6 @@
+!!ARBvp1.0
+TEMP R0;
+EX2 R0, vertex.color.x;
+SUB result.color, R0, {1.0}.x;
+MOV result.position, vertex.position;
+END