summaryrefslogtreecommitdiff
path: root/progs/fp/add-sat.txt
blob: 2253efb0855f59b488ab639a2ff0c05f1524fe7f (plain)
1
2
3
4
5
6
!!ARBfp1.0
TEMP R0;
MOV R0, fragment.color;
ADD_SAT R0, R0, R0;
MUL result.color, {0.5}.x, R0;
END