summaryrefslogtreecommitdiffstats
path: root/progs/vp/psiz-param-clamp.txt
blob: 7f83fc451651a6672e6bd8c791662dec767636d2 (plain)
1
2
3
4
5
6
7
8
9
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