mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 13:40:11 +01:00
progs/vp: more psiz tests
This commit is contained in:
parent
c306bf94d6
commit
e919bfa1f1
2 changed files with 15 additions and 0 deletions
5
progs/vp/psiz-imm.txt
Normal file
5
progs/vp/psiz-imm.txt
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
!!ARBvp1.0
|
||||
MOV result.color, vertex.color;
|
||||
MOV result.pointsize, {2.0, 0, 0, 1};
|
||||
MOV result.position, vertex.position;
|
||||
END
|
||||
10
progs/vp/psiz-param-clamp.txt
Normal file
10
progs/vp/psiz-param-clamp.txt
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
!!ARBvp1.0
|
||||
TEMP R0;
|
||||
TEMP R1;
|
||||
MOV result.color, vertex.color;
|
||||
MUL R0.x, vertex.color.x, {10.0}.x;
|
||||
MAX R0.x, R0.x, {2.0}.x;
|
||||
MIN result.pointsize.x, R0.x, {4.0}.x;
|
||||
MOV result.position, vertex.position;
|
||||
END
|
||||
|
||||
Loading…
Add table
Reference in a new issue