glsl: Pass ctx to program interface query helper functions.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 25 Oct 2016 10:46:51 +0000 (03:46 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 27 Oct 2016 07:56:34 +0000 (00:56 -0700)
commit34fd2ffed8c7acfe1b19247eb3b98c3e754680b2
treea15543974e26fffeab42b552834e9d6e04673c80
parent2035930966b05a7c4dd1f6559d66b5a3b41e01a5
glsl: Pass ctx to program interface query helper functions.

The next commit will use this in add_shader_variable - this just
separates out some of the mechanical changes for easier review.

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/compiler/glsl/linker.cpp