panfrost: Add an unpacked message preload struct
authorAlyssa Rosenzweig <alyssa@collabora.com>
Wed, 23 Feb 2022 18:47:37 +0000 (13:47 -0500)
committerAlyssa Rosenzweig <alyssa@collabora.com>
Thu, 24 Feb 2022 17:51:04 +0000 (12:51 -0500)
commitbd06a26662345897a15efa6cf5c709242cccfeed
tree698c275d73be3a78bed18f4cbb00695139ea25f5
parent2d0c4973dc1da428339a739fe59757499622b35f
panfrost: Add an unpacked message preload struct

The compiler will soon produce preloaded messages, but it should not pack them
itself, as this would require depending on GenXML or handcoding bitfields / bit
packs in the compiler. Instead, add a struct encoding the unpacked form of the
message, used as ABI between the compiler and the common driver.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9438>
src/panfrost/util/pan_ir.h