lima/ppir: don't attempt to clone tex coords if it's not varying
authorVasily Khoruzhick <anarsoul@gmail.com>
Tue, 24 Sep 2019 04:20:07 +0000 (21:20 -0700)
committerVasily Khoruzhick <anarsoul@gmail.com>
Wed, 25 Sep 2019 03:07:16 +0000 (03:07 +0000)
commit4fcfed426aa0b44dc4e94ec919428346ff0a33a0
tree64b5d46c85a3277e6493d22a03b3e5c1d1cbe702
parent0e1310e59fa2c41efcc173f8a68523dc45432ab9
lima/ppir: don't attempt to clone tex coords if it's not varying

It makes no sense to clone texture coords if it's not varying, moreover
we don't support cloning ALU nodes.

Fixes: 1c1890fa7077 ("lima/ppir: clone uniforms and load_coords into each successor")
Reviewed-by: Andreas Baierl <ichgeh@imkreisrum.de>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
src/gallium/drivers/lima/ir/pp/node.c