Merge branch 'mesa_7_7_branch'
[mesa.git] / progs / fp / position-upper-left.txt
1 !!ARBfp1.0
2 # expected: the yellow vertex is the bottom one
3 # if it is the top one, the wrong origin convention is being used
4 OPTION ARB_fragment_coord_origin_upper_left;
5 MOV result.color, {0}.x;
6 MUL result.color.xy, fragment.position, {.005}.x;
7 END