pan/bi: Match CSEL argument order with hw
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Sun, 5 Apr 2020 23:22:01 +0000 (19:22 -0400)
committerMarge Bot <eric+marge@anholt.net>
Sun, 5 Apr 2020 23:26:04 +0000 (23:26 +0000)
commit8eefb2765ab2253fe99ddf3ae32a2a901046d8d1
tree0171991f410093a244e39a5f52d8b4eb21a4a0ec
parent9114ebbe798e101b6bb2b86219cfd3ba9793068f
pan/bi: Match CSEL argument order with hw

It turns out ports need to be in order of the arguments of an
instruction (port 3, that is), which breaks on instructions whose IR
argument order is different from the packed order, like csel. So fix
that.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4458>
src/panfrost/bifrost/bi_pack.c
src/panfrost/bifrost/bifrost_compile.c