zink: rework buffer barrier generation
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 17 Jun 2022 14:55:37 +0000 (10:55 -0400)
committerMarge Bot <emma+marge@anholt.net>
Mon, 20 Jun 2022 00:50:48 +0000 (00:50 +0000)
commit47361daffcbb589125b1b293c4dddf5221f02c16
tree029aada95bfc9c2ef7562772dffb3a919254ffe6
parentdb0fda6f36990e72a604f7b8e73dd55f2c5912b5
zink: rework buffer barrier generation

by passing through the draw buffers, more accurate barriers can be generated
to ensure synchronization for both the draw buffer scopes and
descriptor binding scopes

ref #6597

Acked-by: Dave Airlie <airlied@redhat.com>
Reviewed-By: Tatsuyuki Ishi <ishitatsuyuki@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17111>
src/gallium/drivers/zink/zink_draw.cpp