zink: stop using VK_PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BIT
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 4 Jan 2023 15:15:17 +0000 (10:15 -0500)
committerEric Engestrom <eric@engestrom.ch>
Wed, 11 Jan 2023 17:44:22 +0000 (17:44 +0000)
commitb46918296387ece8dada8a11a0e8038001c5e613
tree44d73622be221bac627052040ff87605f7be1c12
parentac128236d2956fc905438bbbed09f854ed7e6651
zink: stop using VK_PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BIT

this used to be fine back when there was only one thread doing cache management,
but now the cache is used by precompile threads too, so let the driver do sync

fixes #7660

Fixes: 41ffb15de56 ("zink: implement async gfx precompile")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20519>
(cherry picked from commit f18827e0153c555d2f3897b57f8ea0349b5bb41f)
.pick_status.json
src/gallium/drivers/zink/zink_screen.c