linker: Reject shaders that have unresolved function calls
commit6fc544dd5028abf21d66f16dc562948a590adf19
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 13 Oct 2010 22:13:02 +0000 (13 15:13 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 14 Dec 2010 19:55:54 +0000 (14 11:55 -0800)
treed6e8c5162e2fcd15b3f3bb1688d2d46ba6bb6890
parent42e9750975a90c34b081c0552af0bf0edf5d14e5
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.
(cherry picked from commit 4a45595cf3d6a238bb4d528d30139392618b39df)
src/glsl/linker.cpp