pan/bi: Add pack_format helper
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 6 Jan 2021 18:41:06 +0000 (13:41 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 29 Jan 2021 16:55:44 +0000 (16:55 +0000)
commit51f13185c84aee70dae6af81553b8c8981445f4f
tree44103ed340b54905813c3dfcd194a380b39f8fe9
parent0e9a05c0041d5bd78801c5d8a47d33d4da6f6dfb
pan/bi: Add pack_format helper

Packs a single quadword of a clause with a particular format and
parameters.

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