From 47e14cc0932346a1133840890ac2fbdf71ba8c1b Mon Sep 17 00:00:00 2001 From: Michal Krol Date: Tue, 19 Aug 2008 14:44:41 +0200 Subject: Add NV_vertex_program specific tests. --- progs/vp/log.txt | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 progs/vp/log.txt (limited to 'progs/vp/log.txt') diff --git a/progs/vp/log.txt b/progs/vp/log.txt new file mode 100644 index 00000000000..9b042684335 --- /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 -- cgit v1.2.3 From c25adeae18a2cbd2c504210dff289af4764ecaf1 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 28 Oct 2008 19:00:25 -0600 Subject: mesa: convert log/exp tests to ARB_v_p --- progs/vp/exp.txt | 9 +++++---- progs/vp/log.txt | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) (limited to 'progs/vp/log.txt') diff --git a/progs/vp/exp.txt b/progs/vp/exp.txt index 601aae7d715..53ce71db965 100644 --- a/progs/vp/exp.txt +++ b/progs/vp/exp.txt @@ -1,5 +1,6 @@ -!!VP1.0 -EXP R0, v[COL0].x; -ADD o[COL0], R0.z, -R0.w; -MOV o[HPOS], v[OPOS]; +!!ARBvp1.0 +TEMP R0; +EXP R0, vertex.color.x; +SUB result.color, R0.z, R0.w; +MOV result.position, vertex.position; END diff --git a/progs/vp/log.txt b/progs/vp/log.txt index 9b042684335..6b4e94ed0ed 100644 --- a/progs/vp/log.txt +++ b/progs/vp/log.txt @@ -1,6 +1,7 @@ -!!VP1.0 -ADD R0, v[COL0], v[COL0]; +!!ARBvp1.0 +TEMP R0; +ADD R0, vertex.color, vertex.color; ADD R0, R0, R0; -LOG o[COL0], R0.x; -MOV o[HPOS], v[OPOS]; +LOG result.color, R0.x; +MOV result.position, vertex.position; END -- cgit v1.2.3