pan/bi: Track clause types during scheduling
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 18 Mar 2020 17:43:10 +0000 (13:43 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 19 Mar 2020 03:23:07 +0000 (03:23 +0000)
commit61260819ba3f08fccf72dfe7d7498516eec413f9
tree4e9c40bc9409949dccce0cb86a1d30c328b92560
parente323df05a906aa91edfd4895627d28b6f9a12c6d
pan/bi: Track clause types during scheduling

There's an easy mapping for this, so let's do it. Note we do this at
schedule-time instead of emit since we'll need to lookahead clause
types. The alternative is a prepass running after schedule but before
codegen, but there's no reason not to just stick it here when we're
preparing bi_clause in the first place.

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