lima: ppir: don't delete root ld_tex nodes without successors in current block
authorVasily Khoruzhick <anarsoul@gmail.com>
Sat, 25 Jan 2020 19:40:37 +0000 (11:40 -0800)
committerMarge Bot <eric+marge@anholt.net>
Tue, 28 Jan 2020 01:45:29 +0000 (01:45 +0000)
commit4a0f62f1fcab5350d6173c843fd95089953431a0
tree815a012ecd25dedfb47c54876d4fc46a200a204f
parent63af27bc7681c302eaf4527253ca25cc32b400ce
lima: ppir: don't delete root ld_tex nodes without successors in current block

We don't clone ld_tex nodes into each block anymore, so ld_tex may have
successors in another block.

Fixes: c8554f849e41 ("lima/ppir: don't clone texture loads")
Reviewed-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3564>
src/gallium/drivers/lima/ir/pp/lower.c