mesa/src
Chris Forbes 0dfa6e7cf5 glsl: Only allow invariant on shader in/out between stages.
Previously this was special-cased for VS and FS; it never got updated
when geometry shaders came along. Generalize using is_varying_var() so
this won't be broken again with tessellation.

Note that there are two copies of the logic for `invariant`: It can be
present as part of a new declaration, and also as a redeclaration of an
existing variable or block member.

Fixes the four new piglits:
   spec/glsl-1.50/compiler/invariant-qualifier-*.geom

Note for stable: This won't quite pick cleanly due to whitespace and
state->target -> state->stage renames. Should be straightforward
adjustments though.

Cc: "10.0 10.1" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2014-04-22 09:07:05 +12:00
..
egl egl/build: Sort egl sources alphabetically. 2014-04-07 09:41:00 -07:00
gallium svga: move draw debug code into separate function 2014-04-21 14:54:28 -06:00
gbm gbm/build: Add headers to distribution. 2014-04-07 09:41:01 -07:00
getopt
glsl glsl: Only allow invariant on shader in/out between stages. 2014-04-22 09:07:05 +12:00
glx glx: drop obsolete _XUnlock_Mutex in __glXInitialize error path 2014-04-09 22:12:35 +01:00
gtest gtest: Update to 1.7.0. 2014-04-14 00:06:53 -07:00
hgl haiku libGL: Move from gallium target to src/hgl 2014-01-06 15:50:21 -06:00
loader loader: don't limit the non-udev path to only android 2014-04-05 12:17:28 +01:00
mapi glapi: Fix libglapi build. 2014-04-07 14:34:49 -07:00
mesa mesa: move declaration before code 2014-04-21 13:24:26 -06:00
Makefile.am src/build: Add getopt to distribution. 2014-04-07 09:41:02 -07:00
SConscript loader: introduce the loader util lib 2014-01-18 18:47:27 +00:00