linker: Ensure that unsized arrays have a size after linking
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 8 Dec 2010 02:30:33 +0000 (18:30 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 8 Dec 2010 02:32:16 +0000 (18:32 -0800)
commit6f53921c4b9dea8439a851eaa9a4df3791e5649a
tree9ca7901ee7a46ab63e55e3eb82d3e328603818f8
parentb2167a6c013c057e731b96486e3363c1d1171d60
linker: Ensure that unsized arrays have a size after linking

Fixes piglit test case glsl-vec-array (bugzilla #31908).

NOTE: This bug does not affect 7.9, but I think this patch is a
candiate for the 7.9 branch anyway.
src/glsl/linker.cpp