zink: wait on compute batch when necessary during transfer map
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 11 Aug 2020 22:39:25 +0000 (18:39 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 10 Feb 2021 00:19:38 +0000 (00:19 +0000)
commit813c361fe02643842e88b88cb9849d7addc21517
tree223952568aefae41a530656a2ff7bb5e6492dfb4
parent261058f27797b33708c3394491017d14b0759838
zink: wait on compute batch when necessary during transfer map

now that we have the capability to wait on specific batches, we can
check whether we need to sync with the compute queue here before trying
to map resources

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8781>
src/gallium/drivers/zink/zink_resource.c