glsl2: Fail linking where the FS reads a varying that the VS doesn't write.
authorEric Anholt <eric@anholt.net>
Wed, 28 Jul 2010 20:52:23 +0000 (13:52 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 28 Jul 2010 21:04:54 +0000 (14:04 -0700)
commitb706283c79de41caf775b0bb15b3c849932f2574
tree7bed194fe30c61590154e42a2056ffe3796083b9
parenta6c7606ab6e2ba8b4fc253e93a83ca2f18a874b4
glsl2: Fail linking where the FS reads a varying that the VS doesn't write.

Fixes:
glsl1-varying read but not written
glsl1-varying var mismatch
src/glsl/linker.cpp