linker: Don't dynamically allocate slots for linked shaders
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 30 Jun 2010 00:58:43 +0000 (17:58 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 30 Jun 2010 19:20:44 +0000 (12:20 -0700)
commitef5f1948316664055c1444d12076c7d86589a8b9
treee69e3caf28c103fb66ceabb06b0b8aca3773668b
parentedcb9c2b062693a5974aa74725f6259023fff794
linker: Don't dynamically allocate slots for linked shaders

The can be at most one shader per stage.  There are currently only two
stages.  There is zero reason to dynamically size this array.
src/glsl/linker.cpp
src/mesa/main/mtypes.h