pan/bi: Refactor PC-relative printing
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 21 Jan 2021 00:01:03 +0000 (19:01 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 29 Jan 2021 16:55:43 +0000 (16:55 +0000)
commit63c2ee2c4c15940f443dd330a4c6ff9281ee7de1
treedc9e65b57ca16d65836acc9d2046310a0ad767a7
parent24991d787f7033562087047f0ca8d8441e9de11d
pan/bi: Refactor PC-relative printing

Let's get the offset in a named variable for validation.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8723>
src/panfrost/bifrost/disassemble.c