summaryrefslogtreecommitdiff
path: root/progs/fp/position-frc.txt
blob: 35ae3efa10e7b4a304cd619905d242bb7a80c174 (plain)
1
2
3
4
5
6
!!ARBfp1.0
# expected: brown triangle
# black means the wrong pixel center convention is being used
MOV result.color, {0}.x;
FRC result.color.xy, fragment.position;
END