pan/bi: Pull out bi_count_read_registers helper
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 20 Jan 2021 21:40:52 +0000 (16:40 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 29 Jan 2021 16:55:43 +0000 (16:55 +0000)
commit2492074d3d7c18b6d1f12c0373bf5a721eabb9bd
treed061a802c4f8801090a847c5e0962d1596005f9b
parenta69c73988b26aaaa6bffde1b3fef5fdc4a7a90a7
pan/bi: Pull out bi_count_read_registers helper

I want to transition away from the ad hoc masks anyway.

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/bir.c
src/panfrost/bifrost/compiler.h