linker: Fix assertion and cross-version checks for version 100.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 31 Aug 2010 16:33:58 +0000 (09:33 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 8 Sep 2010 00:30:38 +0000 (17:30 -0700)
commit5a81d057dbbf9f4b8fbeee471df70603009c8d6b
treeb7c0af195aa8097b1c17f3f28e3a4178cfd984bb
parent116dc670e96f380b3982030c77d26d102109cef3
linker: Fix assertion and cross-version checks for version 100.

Fixes an assert (min_version >= 110) which was no longer correct, and
also prohibits linking ES2 shaders with non-ES2 shaders.  I'm not
positive this is correct, but the specification doesn't seem to say.
src/glsl/linker.cpp