pan/bi: Measure distance between blocks
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 28 May 2020 17:49:59 +0000 (13:49 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 29 May 2020 20:34:55 +0000 (20:34 +0000)
commit682b63cdc2631de48d6d5e8ce739e272ae373c10
treea33f452d2f67699ddbe7f6ba1cfca2962e33373b
parent64c49ab1fc48e9a82c06f1e9fc92c3cf093ef3ce
pan/bi: Measure distance between blocks

For branch offset calculation.

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