glsl: Combine GS and TES array resizing visitors.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 8 Jul 2016 20:29:31 +0000 (13:29 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 8 Aug 2016 06:53:59 +0000 (23:53 -0700)
commitbd1bd03268285bf562338ba3b0d6661c6319c698
tree7b8ab80e7534a8775beacface4a08676057c0faa
parent398428f40684addd0a1465cf268436e8b1865351
glsl: Combine GS and TES array resizing visitors.

These are largely identical, except that the GS version has a few
extra error conditions.  We can just pass in the stage and skip these.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
src/compiler/glsl/linker.cpp