freedreno/ir3: only tex instructions have wrmask
authorRob Clark <robdclark@chromium.org>
Fri, 1 Nov 2019 22:17:22 +0000 (15:17 -0700)
committerRob Clark <robdclark@chromium.org>
Tue, 12 Nov 2019 21:57:52 +0000 (13:57 -0800)
commit4bb697d938d17bbdd5124db0102d97fb9ead2229
treea8bd7b9e286e31324379669bf7d49cea96f7a52d
parentbdf6b7018cedf95b554e21953d5a1935d3067ce7
freedreno/ir3: only tex instructions have wrmask

At the ir3 level, we would assume that we could use wrmask to mask
off other components of an instruction returning a vecN when they are
not used.  Which would let RA use components not written for other live
values.  But this is only true for tex instructions.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/freedreno/ir3/ir3_depth.c