pan/bi: Add helpers for working with singletons
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 15 Oct 2020 00:36:21 +0000 (20:36 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 23 Oct 2020 14:48:23 +0000 (14:48 +0000)
commit82dbc4ea782e68fcb9bd3400816911ca948de01d
treee9ca25bc987c656de2e93138aa08ef0fd6787813
parent1db83fc75d95a8f5c787e9bd3b75ba235831dd46
pan/bi: Add helpers for working with singletons

Clauses with exactly one instruction (not canonical terminology to my
knowledge, but the notation is suggestive). Since these are isomorphic
to the instructions themselves, we want helpers to go between the forms.

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