summaryrefslogtreecommitdiff
path: root/progs/fp/negate.txt
blob: 3d00a04a58722c8122ec1da0e1638268f3c7d0b6 (plain)
1
2
3
4
5
6
!!ARBfp1.0
# this should result in fragment color passing through unchanged
TEMP R0;
ADD R0, fragment.color, fragment.color;
ADD result.color, R0, -fragment.color;
END