panfrost: Pack invocation_shifts manually instead of a bit field
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 12 Dec 2019 16:28:08 +0000 (11:28 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 16 Dec 2019 19:48:28 +0000 (19:48 +0000)
commit6378797a6d1ce3652d0394beeb1af33af7426ed2
tree7d4c8225c084a3d2adf65888dbee5abb8a87e761
parenta649bbffee579b306a2d12f252d0f3230b2402b5
panfrost: Pack invocation_shifts manually instead of a bit field

gcc generates exceptionally bad code for panfrost_pack_work_groups_fused
otherwise ... although that routine is somehow still hot ...

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3067>
src/panfrost/encoder/pan_invocation.c
src/panfrost/include/panfrost-job.h
src/panfrost/pandecode/decode.c