zink: don't wait on queue thread if disabled
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 23 May 2023 13:30:59 +0000 (09:30 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 24 May 2023 18:02:11 +0000 (18:02 +0000)
commitf58594cdea4c2b1b23c7da7fafc9868935529ff1
tree47b32126a84a6882167541a7b28973c0a11c4581
parentfeeeb45639b3bb608a6bae090c6cff67dd91e75d
zink: don't wait on queue thread if disabled

Fixes: 270f9c0b063 ("zink: add ZINK_DEBUG=flushsync")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23189>
src/gallium/drivers/zink/zink_context.c
src/gallium/drivers/zink/zink_screen.c