freedreno/ir3: fix regmask for merged regs
authorRob Clark <robdclark@gmail.com>
Sat, 16 Mar 2019 15:45:16 +0000 (11:45 -0400)
committerRob Clark <robdclark@gmail.com>
Thu, 21 Mar 2019 13:13:05 +0000 (09:13 -0400)
commit8eb16ae8bfb1b8a74b86ea57d6b9e467e30bc4f3
tree2f9dd4452ae99590d673f03e1ac1c6c29332a627
parent1dffb089f903577602bae49931f3d2a71a1a8420
freedreno/ir3: fix regmask for merged regs

On a6xx+ with half-regs conflicting with full-regs, the legalize pass
needs to set appropriate sync bits, such as (sy), on writes to full regs
that conflict with half regs, and visa-versa.

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