glsl: Initialize gl_shader_program::EmptyUniformLocations.
authorMatt Turner <mattst88@gmail.com>
Sun, 28 Feb 2016 00:38:26 +0000 (16:38 -0800)
committerMatt Turner <mattst88@gmail.com>
Tue, 1 Mar 2016 19:41:29 +0000 (11:41 -0800)
commitf3b68fc5fc806cbfd5e7d79b8679fd2bcbae71f4
treecbe1d0d2b7c42785b1f764c6830dcd869d6c410b
parent1a80ca22fef420142d128f98bb3a04a5d9c46bf9
glsl: Initialize gl_shader_program::EmptyUniformLocations.

Commit 65dfb30 added exec_list EmptyUniformLocations, but only
initialized the list if ARB_explicit_uniform_location was enabled,
leading to crashes if the extension was not available.

Cc: "11.2" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/compiler/glsl/linker.cpp
src/mesa/main/shaderobj.c