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