linker: Reject shaders that have unresolved function calls
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 13 Oct 2010 22:13:02 +0000 (15:13 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 13 Oct 2010 22:30:19 +0000 (15:30 -0700)
commit4a45595cf3d6a238bb4d528d30139392618b39df
tree65ab2c2fe7416522f9da52c0270f5c4cd474c246
parent720bdfbceb5b20bbbb4090cca7a1825ca5f89260
linker: Reject shaders that have unresolved function calls

This really amounts to just using the return value from
link_function_calls.  All the work was being done, but the result was
being ignored.

Fixes piglit test link-unresolved-funciton.

NOTE: this is a candidate for the 7.9 branch.
src/glsl/linker.cpp