summaryrefslogtreecommitdiff
path: root/progs/fp/position.txt
blob: f59d0259c726d2300e1b20e69df80c1d660b2c25 (plain)
1
2
3
4
5
6
!!ARBfp1.0
# expected: the yellow vertex is the top one
# if it is the bottom one, the wrong origin convention is being used
MOV result.color, {0}.x;
MUL result.color.xy, fragment.position, {.005}.x;
END