mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-07 07:40:30 +01:00
progs/vp: add pointsize + clamp test
This commit is contained in:
parent
a4a0ba1adb
commit
993b7e1d5c
1 changed files with 9 additions and 0 deletions
9
progs/vp/psiz-mul-clamp.txt
Normal file
9
progs/vp/psiz-mul-clamp.txt
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
!!ARBvp1.0
|
||||
TEMP R0;
|
||||
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