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.
This commit is contained in:
Eric Anholt 2010-07-30 11:24:23 -07:00
parent 939a1807fe
commit 5e5583ee06

View file

@ -164,6 +164,8 @@ public:
*/
linked_sig->accept(this);
ir->set_callee(linked_sig);
return visit_continue;
}