lima: ppir: always create move and update ld_tex successors for all blocks
authorVasily Khoruzhick <anarsoul@gmail.com>
Sat, 25 Jan 2020 21:31:53 +0000 (13:31 -0800)
committerMarge Bot <eric+marge@anholt.net>
Tue, 28 Jan 2020 01:45:29 +0000 (01:45 +0000)
commit650c68054536ceefb8d085e343b82f907127a56d
tree2cf2418fe6a4a367a7ce0c8e1a6c3dce2d685511
parent4a0f62f1fcab5350d6173c843fd95089953431a0
lima: ppir: always create move and update ld_tex successors for all blocks

Always create a mov for ld_tex since we can't rely on
ppir_node_has_single_src_succ() if we have multiple blocks. And since
ld_tex successor can be in a different block we have to update their
ppir_src as well.

Reviewed-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3564>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3564>
src/gallium/drivers/lima/ir/pp/lower.c
src/gallium/drivers/lima/ir/pp/node.c
src/gallium/drivers/lima/ir/pp/ppir.h