freedreno/ir3: invert is_same_type_mov() logic
authorRob Clark <robdclark@gmail.com>
Tue, 31 Oct 2017 16:21:51 +0000 (12:21 -0400)
committerRob Clark <robdclark@gmail.com>
Sun, 12 Nov 2017 17:28:59 +0000 (12:28 -0500)
commit4c711f4d1898b147b66e1e69b7899d08ec925d0d
tree1122de760df7148511b13ced2a1df6538acf2af8
parent6da513007474ddee48edf256e435a0fa7a65335d
freedreno/ir3: invert is_same_type_mov() logic

Some instructions (like barriers) have no dst, which causes problems
with dereferencing a NULL dst.  Flip the logic around to reject opc's
that can't be a type of move first, to filter out those instructions.

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