summaryrefslogtreecommitdiff
path: root/progs/vp/abs.txt
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2005-11-01 06:28:39 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2005-11-01 06:28:39 +0000
commitd9f362a66733cf016a54bae0a97805223d930062 (patch)
tree28478ab0dd9e0c6ce5d11061ff9c4e0ae0ea407b /progs/vp/abs.txt
parent05051037101dfa053798cf5ad91d1975fd1aa6a7 (diff)
standalone tests for vp instructions
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 0000000000..cd00952e34
--- /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
+