freedreno/ir3: fix legalize for vecN inputs
authorRob Clark <robdclark@gmail.com>
Mon, 18 Feb 2019 18:15:54 +0000 (13:15 -0500)
committerRob Clark <robdclark@gmail.com>
Wed, 20 Feb 2019 23:50:08 +0000 (18:50 -0500)
commitf5ee8c54ed481f5c832f9364845680cc223a85b3
tree22f222f266d20c116720185701d8c7c2524dbc78
parent688f5e456ae7f1aa0a4bddbbe184535ee392f9f2
freedreno/ir3: fix legalize for vecN inputs

The wrmask is handled in regmask_get()/regmask_set(), but it wasn't
being propagated from SSA src to dst.  So for example, an SSBO read
value that is passed in as src2.y component to atomic op, wasn't
getting the (sy) flag set.  Causing lots of fail.

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