mesa/src
Paul Berry e8f6f244bb glsl: When disabling gl_PerVertex variables, check that mode matches.
In commit 1b4a737 (glsl: Support redeclaration of VS and GS
gl_PerVertex output), I added code to ensure that when an unnamed
gl_PerVertex interface block is redeclared, any ir_variables that
weren't included in the redeclaration are removed from the IR (and the
symbol table).  This ensures that only those variables that were
explicitly redeclared may be used.

However, when I wrote this code, I neglected to match the variable
mode when finding variables to remove.  This meant that redeclaring a
built-in output block might cause the built-in input gl_in to be
accidentally removed.

Fixes piglit test gs-redeclares-pervertex-out-only.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
2013-10-24 22:01:30 -07:00
..
egl dri: Pass in the dlsym()ed driver extension to screen creation. 2013-10-24 14:04:20 -07:00
gallium freedreno/a3xx/compiler: relative addressing 2013-10-24 20:21:08 -04:00
gbm dri: Pass in the dlsym()ed driver extension to screen creation. 2013-10-24 14:04:20 -07:00
getopt
glsl glsl: When disabling gl_PerVertex variables, check that mode matches. 2013-10-24 22:01:30 -07:00
glx dri: Pass in the dlsym()ed driver extension to screen creation. 2013-10-24 14:04:20 -07:00
gtest gtest: Build it only for 'make check'. 2013-01-13 12:38:44 +01:00
mapi mesa: remove remnants of GL_MESA_shader_debug 2013-10-22 08:20:45 -06:00
mesa mesa: Fix geometry shader program queries. 2013-10-24 22:01:22 -07:00
Makefile.am gbm: Link to libwayland-drm if Wayland EGL platform is enabled 2013-08-12 15:16:22 -07:00
SConscript Remove libGLU 2012-08-31 10:58:15 -07:00