On Fri, Jul 06, 2012 at 02:18:12PM -0700, Eric Anholt wrote: > Oliver McFadden <oliver.mcfad...@linux.intel.com> writes: > > > The OpenGL(R) ES Shading Language > > Version 1.00 Revision 17 (12 May, 2009) > > > >> 4.6.1 The Invariant Qualifier > >> ... To force all output variables to be invariant, use the pragma > >> #pragma STDGL invariant(all) > > > > Signed-off-by: Oliver McFadden <oliver.mcfad...@linux.intel.com> > > Could we get a piglit test for this? Should be easy.
I am currently on vacation and just made this quick patch to scratch my own itch, but yes, I'll can make a test for it when I return to work. > > Reviewed-by: Eric Anholt <e...@anholt.net> Thanks, I'll push it when there is a Piglit test. I also need to write some tests for the 'discard' statement in fragment shaders; it's consistently bringing down i965 into a state where the only way to get it back is to reboot. :-( -- Oliver McFadden. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev