2007-11-09 10:08:15 -05:00
|
|
|
!!ARBfp1.0
|
2010-01-21 09:38:50 -07:00
|
|
|
# expected: the yellow vertex is the top one
|
|
|
|
# if it is the bottom one, the wrong origin convention is being used
|
2009-03-06 18:53:56 +00:00
|
|
|
MOV result.color, {0}.x;
|
|
|
|
MUL result.color.xy, fragment.position, {.005}.x;
|
2007-11-09 10:08:15 -05:00
|
|
|
END
|