Browse Source

mesa: convert log/exp tests to ARB_v_p

tags/mesa_20090313
Brian Paul 17 years ago
parent
commit
c25adeae18
2 changed files with 10 additions and 8 deletions
  1. 5
    4
      progs/vp/exp.txt
  2. 5
    4
      progs/vp/log.txt

+ 5
- 4
progs/vp/exp.txt View File

@@ -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

+ 5
- 4
progs/vp/log.txt View File

@@ -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

Loading…
Cancel
Save