mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-18 21:38:22 +02:00
mesa: convert log/exp tests to ARB_v_p
This commit is contained in:
parent
5db0372b3c
commit
c25adeae18
2 changed files with 10 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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…
Add table
Reference in a new issue