pan/bi: Add helper to measure clause size
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 5 May 2020 22:20:08 +0000 (18:20 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 29 May 2020 20:34:55 +0000 (20:34 +0000)
commitb3ae088b96d9242d7d0fabde0516ccd76279ffd5
tree85a8419eae6aa3d9f30937671bfb4eca0ffcc977
parent2a4e4477fc3ce3e3a914dad98b1129e90cbdf0b0
pan/bi: Add helper to measure clause size

Useful for branching.

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