linker: look up function signatures during linking instead of using callee
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 16 Jul 2010 02:28:32 +0000 (19:28 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 19 Jul 2010 21:50:43 +0000 (14:50 -0700)
commit532c2d30850908b75f4b0ad0aa5fa7ce88f8202d
tree0c990951d574cd81a9da0b42da3b4bf510b190bb
parent5adbf0bff168c088d9fd5140226b76e3ba6471b8
linker: look up function signatures during linking instead of using callee

Instead of using ir_call::callee, search for the signature in the
linked shader.  This will allow resolving calls from functions
imported from other shaders.  The ir_call::callee pointer in the
imported function will still reference a signature in the original shader.
src/glsl/link_functions.cpp