summaryrefslogtreecommitdiff
path: root/progs/vp
diff options
context:
space:
mode:
authorMichal Krol <michal@tungstengraphics.com>2008-08-19 14:44:41 +0200
committerMichal Krol <michal@tungstengraphics.com>2008-08-19 14:44:41 +0200
commit47e14cc0932346a1133840890ac2fbdf71ba8c1b (patch)
treee4f988c893f5e2d304164c6da25e4a1e233a33df /progs/vp
parent2858ec66c2dfb67c904cab5c56291b621c62720d (diff)
Add NV_vertex_program specific tests.
Diffstat (limited to 'progs/vp')
-rw-r--r--progs/vp/exp.txt5
-rw-r--r--progs/vp/log.txt6
2 files changed, 11 insertions, 0 deletions
diff --git a/progs/vp/exp.txt b/progs/vp/exp.txt
new file mode 100644
index 0000000000..601aae7d71
--- /dev/null
+++ b/progs/vp/exp.txt
@@ -0,0 +1,5 @@
+!!VP1.0
+EXP R0, v[COL0].x;
+ADD o[COL0], R0.z, -R0.w;
+MOV o[HPOS], v[OPOS];
+END
diff --git a/progs/vp/log.txt b/progs/vp/log.txt
new file mode 100644
index 0000000000..9b04268433
--- /dev/null
+++ b/progs/vp/log.txt
@@ -0,0 +1,6 @@
+!!VP1.0
+ADD R0, v[COL0], v[COL0];
+ADD R0, R0, R0;
+LOG o[COL0], R0.x;
+MOV o[HPOS], v[OPOS];
+END