mesa/progs/fp/position-frc.txt

7 lines
169 B
Plaintext

!!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