glsl2: Update the callee pointer of calls to newly-linked-in functions.
authorEric Anholt <eric@anholt.net>
Fri, 30 Jul 2010 18:24:23 +0000 (11:24 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 30 Jul 2010 21:57:22 +0000 (14:57 -0700)
commit5e5583ee06cff53db48151c13b21916a166ea2ed
treee50b008ca33e77af89130ed67d3b9fdee15ada01
parent939a1807fe5a70db25725335ba0acccce8b01db3
glsl2: Update the callee pointer of calls to newly-linked-in functions.

Otherwise, ir_function_inlining will see the body of the function from
the unlinked version of the shader, which won't have had the lowering
passes done on it or linking's variable remapping.
src/glsl/link_functions.cpp