From 1ca22855119508457b2cbd9a0a3b840e47a61eff Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 21 Jan 2010 09:38:50 -0700 Subject: progs/fp: testcases for GL_ARB_fragment_coord_conventions Based on a patch from Luca Barbieri but moved the comments after the !!ARBfp1.0 header --- progs/fp/position-upper-left.txt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 progs/fp/position-upper-left.txt (limited to 'progs/fp/position-upper-left.txt') diff --git a/progs/fp/position-upper-left.txt b/progs/fp/position-upper-left.txt new file mode 100644 index 00000000000..ac632dbfb7d --- /dev/null +++ b/progs/fp/position-upper-left.txt @@ -0,0 +1,7 @@ +!!ARBfp1.0 +# expected: the yellow vertex is the bottom one +# if it is the top one, the wrong origin convention is being used +OPTION ARB_fragment_coord_origin_upper_left; +MOV result.color, {0}.x; +MUL result.color.xy, fragment.position, {.005}.x; +END -- cgit v1.2.3