glsl: move max_index calc to assign_attribute_or_color_locations
authorTapani Pälli <tapani.palli@intel.com>
Mon, 27 Jul 2015 10:29:20 +0000 (13:29 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Wed, 29 Jul 2015 05:17:12 +0000 (08:17 +0300)
commitb868971e786b849e70675852a0043538bcce0739
treefea93391e8ef7474ba9410d2479808853d1a1171
parent2e04492a142102823dfb8fc8599cfd417b84c97a
glsl: move max_index calc to assign_attribute_or_color_locations

Change function to get all gl_constants for inspection, this is used
by follow-up patch.

v2: rebase, update function documentation

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Timothy Arceri <t_arceri@yahoo.com.au>
src/glsl/linker.cpp