summaryrefslogtreecommitdiffstats
path: root/progs/fp/cmp.txt
blob: 78451609a3f9a4144fe4e2ec79880317335ecdbe (plain)
1
2
3
4
5
!!ARBfp1.0
TEMP R0;
SUB R0, {0.5}.x, fragment.color;
CMP result.color, R0, fragment.color, {0.0}.x;
END