pan/bi: Add bi_bytemask_of_read_components helpers
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 11 Mar 2020 18:46:01 +0000 (14:46 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 11 Mar 2020 20:28:21 +0000 (20:28 +0000)
commite623007eb786ddc5fb06133f3d7c27f9a2eb18f9
tree5993d4ca402ff1fc0864dea9a567c02746a6deaf
parente94754a7c47bd59526de72115576519e015f4d76
pan/bi: Add bi_bytemask_of_read_components helpers

Same purpose as the Midgard version, but the implementation is
*dramatically* simpler thanks to our more regular IR.

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