pan/bi: Add bi_pack_tuple_bits
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 6 Jan 2021 18:38:23 +0000 (13:38 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 29 Jan 2021 16:55:44 +0000 (16:55 +0000)
commit5f523c60fc6eeb6c693ca99b160c2a2d8196eaf5
tree959f052618c889cf2e9c1b95562310dc455838e7
parent0812a5204ba65de71ca6ffa5e629df561108d060
pan/bi: Add bi_pack_tuple_bits

More general than the top 3 bit special case. There's some serious
complication around 78-bit shifting but I digress.

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/bi_pack.c