lima/ppir: don't clone texture loads
authorVasily Khoruzhick <anarsoul@gmail.com>
Tue, 8 Oct 2019 03:11:46 +0000 (20:11 -0700)
committerVasily Khoruzhick <anarsoul@gmail.com>
Wed, 9 Oct 2019 15:24:27 +0000 (08:24 -0700)
commitc8554f849e4102a78a9f6ab371b7492d7b25af62
tree31394ddd84d79772a484504d6a82786cb97de9a6
parent94cfe590703018cf3d34a0c1f8667064919bf843
lima/ppir: don't clone texture loads

Cloning texture loads isn't a good idea since we may move it into
a block that is not shared between all the invocations of the shader.
We'd like to avoid that since it may result in undefined behavior.

Reviewed-by: Andreas Baierl <ichgeh@imkreisrum.de>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
src/gallium/drivers/lima/ir/pp/nir.c
src/gallium/drivers/lima/ir/pp/node.c