freedreno/ir3: don't hardcode wrmask
authorRob Clark <robdclark@gmail.com>
Thu, 21 Feb 2019 19:46:10 +0000 (14:46 -0500)
committerRob Clark <robdclark@gmail.com>
Fri, 22 Feb 2019 19:05:32 +0000 (14:05 -0500)
commitbdedb8277a96341c8ccd268e75b4e877286fa8ab
tree2d0c78249bd5408f607a4006ab423ea3bc526c8a
parent5d4fa194b8768701a7df1545cf10929ab4b67a23
freedreno/ir3: don't hardcode wrmask

Fixes dEQP-GLES31.functional.shaders.opaque_type_indexing.sampler.const_literal.vertex.samplercubeshadow
and few other similar tests that do multiple texture fetches into
individual components of a packet output.  Mostly works around the
issue mentioned in ra_block_find_definers().

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/freedreno/ir3/ir3_compiler_nir.c