pan/bi: Extend bi_scoreboard_state for finer tracking
authorAlyssa Rosenzweig <alyssa@collabora.com>
Fri, 27 May 2022 16:02:37 +0000 (12:02 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 1 Jun 2022 16:14:38 +0000 (16:14 +0000)
commit616df0e97dd7ec0993e577e39d79854d9edf7c21
tree5366423c5a48a9a2fa11a078ca3542e98ed1ae31
parent68b10b39f7f5c9525169502a94327a879162bc31
pan/bi: Extend bi_scoreboard_state for finer tracking

We need to insert dependencies for varyings and memory access. Currently, the
Bifrost scoreboarding pass just treats these as barriers, but this is too heavy
handed. Extend the scoreboard data structure so we can do better.

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