mirror of
https://github.com/lbgos/rift-s-linux.git
synced 2026-10-28 08:01:21 +01:00
c/client: don't call vkQueueWaitIdle in client_vk_compositor_destroy
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2531>
This commit is contained in:
1 parent
cb83f93d33
commit
d9059a8989
1 file changed
-8
@@ -392,14 +392,6 @@ client_vk_compositor_destroy(struct xrt_compositor *xc)
|
||||
}
|
||||
xrt_compositor_semaphore_reference(&c->sync.xcsem, NULL);
|
||||
|
||||
/*
|
||||
* Make sure that any of the command buffers from the command pool are
|
||||
* not in use (pending in Vulkan terms), to please the validation layer.
|
||||
*/
|
||||
os_mutex_lock(&vk->queue_mutex);
|
||||
vk->vkQueueWaitIdle(vk->main_queue.queue);
|
||||
os_mutex_unlock(&vk->queue_mutex);
|
||||
|
||||
// Now safe to free the pool.
|
||||
vk_cmd_pool_destroy(vk, &c->pool);
|
||||
|
||||
|
||||
Reference in new issue
Block a user