lima/ppir: set write mask for texture loads if dest is reg
authorVasily Khoruzhick <anarsoul@gmail.com>
Mon, 19 Aug 2019 05:48:22 +0000 (22:48 -0700)
committerVasily Khoruzhick <anarsoul@gmail.com>
Sat, 24 Aug 2019 01:19:47 +0000 (18:19 -0700)
commitbf2872eeb2d60d9eb0466728beb64cfee507654e
tree9f62640b9a8696d70fa9f5d7c4c2aa219b68f88f
parentfd129817f0ba6a58d8f190628b69c59f716191ef
lima/ppir: set write mask for texture loads if dest is reg

Destination for texture load can be a reg, so we need to
set write mask in this case

Tested-by: Andreas Baierl <ichgeh@imkreisrum.de>
Reviewed-by: Qiang Yu <yuq825@gmail.com>
Reviewed-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
src/gallium/drivers/lima/ir/pp/nir.c