glsl: Split process_block_array into two functions
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 12 Dec 2016 19:54:41 +0000 (11:54 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 19 Dec 2016 23:54:38 +0000 (15:54 -0800)
commit8862fefba068d07d04b08abd0a0bd09d59a04cdc
tree1952fbe8847719f2a3953c961cda13b6b5767370
parent4c4d9e4f032d5753034361ee70aa88d16d3a04b4
glsl: Split process_block_array into two functions

One for the array parts and one for the leaf members.  This will
simplify later changes.

The indentation is wonkey after this patch.  This was done to make it
more obvious that the function is just getting split.  The next patch
will fix the indentation.

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