linker: Treat sized and unsized array types as the same
commita2711d69686a6c7f2cabe174cfefeefc718ce335
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 30 Aug 2010 05:07:49 +0000 (29 22:07 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 30 Aug 2010 05:11:35 +0000 (29 22:11 -0700)
tree9e6a8d21b508ec4fa1aad2243202558e572a3a7b
parent4502b17901ad491e0598ee59a12d372c008ae03b
linker: Treat sized and unsized array types as the same

If two shaders contain variables declared with array types that have
the same base type but one is sized and the other is not, linking
should succeed.  I'm not super pleased with the way this is
implemented, and I am more convinced than ever that we need more
linker tests.  We especially need "negative" tests.

Fixes bugzilla #29697 and piglit test glsl-link-array-01.
src/glsl/linker.cpp