pan/va: Unit test barrier handling
authorAlyssa Rosenzweig <alyssa@collabora.com>
Mon, 20 Jun 2022 20:49:27 +0000 (16:49 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 21 Jun 2022 22:19:59 +0000 (22:19 +0000)
commit43d00c2971ae641f41c789edc7d8413c877dacab
treefa712772bede00e53baee1e5c74d96bbfa20b110
parent8c6b9b9c9218cd115c3f3b9a1c6e56e6daa84fb4
pan/va: Unit test barrier handling

Add a unit test for the quirk discovered in the previos commit, because this
will cause flakes (instead of fails) if we get it wrong. Better have a
deterministic fail mode.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17091>
src/panfrost/bifrost/valhall/test/test-insert-flow.cpp