pan/bi: Add bi_message_type_for_instr helper
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 10 Dec 2020 21:04:49 +0000 (16:04 -0500)
committerMarge Bot <eric+marge@anholt.net>
Thu, 31 Dec 2020 14:39:02 +0000 (14:39 +0000)
commit84f251c38a697e0cc049a920ee2d0d64df2c6562
treecca8214c3b948a9c30543b16d0af7377f78ab52c
parent26ce13f6573819bf65ce6335533bd5707bbd88c2
pan/bi: Add bi_message_type_for_instr helper

Greatly simplified by the use of the table.

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