pan/bi: Clean up destination printing
authorAlyssa Rosenzweig <alyssa@collabora.com>
Thu, 21 Jul 2022 18:45:49 +0000 (14:45 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 2 Sep 2022 16:03:23 +0000 (16:03 +0000)
commitaaa2fa4e7a7b6d8d56f3af5bd69224afb5bef95d
treeb6e409672b0759098707b67d1cb5fad401a5a071
parent4f8ee2c00e2b43eafee88c93762d60d281100d03
pan/bi: Clean up destination printing

Now we can trust in I->nr_dests, avoiding a bunch of special cases and incorrect
printing for instructions without a destination. To compensate for those
instructions being hard to scan now, indent.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17794>
src/panfrost/bifrost/bi_printer.c.py