pan/bi: Add branch constant field to IR
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 28 May 2020 16:53:22 +0000 (12:53 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 29 May 2020 20:34:55 +0000 (20:34 +0000)
commit627872ef7f8be877cc8c64f0b424827a43ed8ef7
tree359668b5d0d39c1ad551f9c82d23104bfb9a860e
parentf1298ae33658c7e0e1c2e07b70903338e0981bed
pan/bi: Add branch constant field to IR

The offsets used for branches need some extra bits twiddled, so add a
field to the clause to indicate this is happening. This is not ambiguous
since a clause can only have a single branch.

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