diff options
Diffstat (limited to 'src/gallium/drivers/lima/ir/pp/node.c')
-rw-r--r-- | src/gallium/drivers/lima/ir/pp/node.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/lima/ir/pp/node.c b/src/gallium/drivers/lima/ir/pp/node.c index ff70bb0d2db..061fc4efaa4 100644 --- a/src/gallium/drivers/lima/ir/pp/node.c +++ b/src/gallium/drivers/lima/ir/pp/node.c @@ -407,8 +407,7 @@ static void _ppir_node_replace_child(ppir_src *src, ppir_node *old_child, ppir_n { ppir_dest *od = ppir_node_get_dest(old_child); if (ppir_node_target_equal(src, od)) { - ppir_dest *nd = ppir_node_get_dest(new_child); - ppir_node_target_assign(src, nd); + ppir_node_target_assign(src, new_child); } } |