pan/bi: Add bi_instruction printing
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 4 Mar 2020 14:21:50 +0000 (09:21 -0500)
committerMarge Bot <eric+marge@anholt.net>
Thu, 5 Mar 2020 14:35:38 +0000 (14:35 +0000)
commitbde54cb6d319fd9516507c1040d9e5fe8e7b81f2
tree562a5ae516f1666d73bdec407fe06d706a9034f8
parentaef0f00cbc976a29e5b66da4b2abbd2bcd9c0d52
pan/bi: Add bi_instruction printing

So we can debug the IR in memory before code emit has happened. We'd
like to have a complete dump of the IR -- neglecting this with Midgard
was one of those mistakes I've regretted so let's get this right for the
first time around.

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