glsl: Track the linearized array index for each UBO instance array element
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 12 Dec 2016 20:24:18 +0000 (12:24 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 19 Dec 2016 23:55:37 +0000 (15:55 -0800)
commitd56bd07bb3b6821eca961dde15c40f179be99e2d
tree92f05fa09c4ad4d0a8f7f5c862fb842f7584f9e9
parent300de78ab17433ea05f39013c9eede6a851bcb24
glsl: Track the linearized array index for each UBO instance array element

v2: Set linearizer_array_index in process_block_array_leaf.  Suggested
by Timothy.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/glsl/link_uniform_blocks.cpp
src/mesa/main/mtypes.h