pan/midgard: Extend csel_swizzle to branches
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 24 Sep 2019 13:06:37 +0000 (09:06 -0400)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 30 Sep 2019 12:40:13 +0000 (08:40 -0400)
commit7cf493241061d2d942a8555ec8cfa08be3254045
treecb6abad155c1a94c116ff200b72e6626e2c68645
parentc9ce5a92a0d9e052ec4fc38e88d9aed81200489a
pan/midgard: Extend csel_swizzle to branches

Conditions for branches don't have a swizzle explicitly in the emitted
binary, but they do implicitly get swizzled in whatever instruction
wrote r31, so we need to handle that.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/panfrost/midgard/compiler.h
src/panfrost/midgard/midgard_compile.c
src/panfrost/midgard/mir.c