Clone of mesa.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

position-upper-left.txt 249B

1234567
  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