glsl: create program resource list after LinkShader
authorTapani Pälli <tapani.palli@intel.com>
Mon, 29 Jun 2015 12:23:45 +0000 (15:23 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Wed, 1 Jul 2015 11:40:34 +0000 (14:40 +0300)
commitf045b8b2ff5ac75da3e092f482fd1717571d8462
treef5e7f698f6df2d3da98501095828936d61f5c2d9
parent73afa31f07fe4af605088f6590edc4227652c482
glsl: create program resource list after LinkShader

Resource list can be created properly  only after LinkShader hook
has been called to make sure all dead variables have been removed.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Martin Peres <martin.peres@linux.intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90925
src/glsl/linker.cpp
src/mesa/program/ir_to_mesa.cpp