mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-18 19:10:32 +01:00
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:
parent
939a1807fe
commit
5e5583ee06
1 changed files with 2 additions and 0 deletions
|
|
@ -164,6 +164,8 @@ public:
|
|||
*/
|
||||
linked_sig->accept(this);
|
||||
|
||||
ir->set_callee(linked_sig);
|
||||
|
||||
return visit_continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue