xenocara/dist/Mesa/progs/vp/psiz-mul-clamp.txt

10 lines
200 B
Plaintext

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