glsl2: Don't try to assign locations for samplers during linking.
authorEric Anholt <eric@anholt.net>
Wed, 4 Aug 2010 21:26:15 +0000 (14:26 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 4 Aug 2010 21:28:57 +0000 (14:28 -0700)
commitb6ceddc371d026dc30f2cc0f377bc0214e11d768
tree93936cb3e141a6d58b66262120155c2bd97dd14a
parentfe1918c71c3e387939cef9359d4b31ebc5c11a17
glsl2: Don't try to assign locations for samplers during linking.

Mesa will do the mapping at _mesa_add_sampler() time.  Fixes assertion
failures in debug builds, which might have caught real problems with
multiple samplers linked in a row.
src/glsl/linker.cpp