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

11 lines
209 B
Plaintext

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