The open source OpenXR runtime

c/client: don't call vkQueueWaitIdle in client_vk_compositor_destroy

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2531>

authored by

Simon Zeni and committed by
Marge Bot
d9059a89 cb83f93d

-8
-8
src/xrt/compositor/client/comp_vk_client.c
··· 392 392 } 393 393 xrt_compositor_semaphore_reference(&c->sync.xcsem, NULL); 394 394 395 - /* 396 - * Make sure that any of the command buffers from the command pool are 397 - * not in use (pending in Vulkan terms), to please the validation layer. 398 - */ 399 - os_mutex_lock(&vk->queue_mutex); 400 - vk->vkQueueWaitIdle(vk->main_queue.queue); 401 - os_mutex_unlock(&vk->queue_mutex); 402 - 403 395 // Now safe to free the pool. 404 396 vk_cmd_pool_destroy(vk, &c->pool); 405 397