freedreno/ir3: relax restriction in grouping
authorRob Clark <robclark@freedesktop.org>
Sun, 24 Apr 2016 15:40:12 +0000 (11:40 -0400)
committerRob Clark <robclark@freedesktop.org>
Sun, 24 Apr 2016 17:40:57 +0000 (13:40 -0400)
commit0831eb94b9adde3f1542ca75a1f80dbe165b8f31
tree42e24a59bea37a8518e727b2ae95e7cb62b1a16e
parent36c9ea6e79267d62e8d71cc51c6d6db4bdb6f977
freedreno/ir3: relax restriction in grouping

Currently we were two restrictive, and would insert an output move in
cases like: MOV OUT[0], IN[0].xyzw

Loosen the restriction to allow the current instruction to appear in the
neighbor list but only at it's current possition.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/ir3/ir3_group.c