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