On 16 September 2011 09:01, Marek Olšák <mar...@gmail.com> wrote: > Hi Paul, > > this commit breaks the piglit test > shaders/glsl-arb-fragment-coord-conventions on softpipe and r600g: > > bin/glsl-arb-fragment-coord-conventions -auto > Regular gl_FragCoord > Pixel center half integer > Pixel center integer > Probe at (0,0) > Expected: 0.250000 0.250000 0.000000 > Observed: 0.749020 0.749020 0.000000 > Probe at (99,99) > Expected: 0.250000 0.250000 0.000000 > Observed: 0.749020 0.749020 0.000000 > Pixel origin upper left > Probe at (0,0) > Expected: 0.000000 1.000000 0.000000 > Observed: 0.003922 0.003922 0.000000 > Probe at (99,99) > Expected: 1.000000 0.000000 0.000000 > Observed: 0.996078 0.996078 0.000000 > Pixel origin upper left and pixel center integer > PIGLIT: {'result': 'fail' } > > Reverting the commit fixes this. It looks like > layout(pixel_center_integer) is ignored, because "Pixel center half > integer" and "Pixel center integer" return the same color in the test. > > Do you have any idea what's wrong? > > Marek > > Wow, that's surprising, since the commit should only affect what is considered an error condition; it shouldn't affect the GLSL IR that gets generated.
I'll do some investigation and let you know what I find. Paul
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev