render/vulkan: use VK_KHR_synchronization2

This simplifies the vkQueueSubmit call, removing the need to pass
timeline semaphore point values as separate arrays.
This commit is contained in:
Simon Ser 2023-04-14 15:49:43 +02:00 committed by Simon Zeni
parent 6830bfc17f
commit f5a5712a02
3 changed files with 61 additions and 58 deletions

View file

@ -50,6 +50,7 @@ struct wlr_vk_device {
PFN_vkGetSemaphoreCounterValueKHR vkGetSemaphoreCounterValueKHR;
PFN_vkGetSemaphoreFdKHR vkGetSemaphoreFdKHR;
PFN_vkImportSemaphoreFdKHR vkImportSemaphoreFdKHR;
PFN_vkQueueSubmit2KHR vkQueueSubmit2KHR;
} api;
uint32_t format_prop_count;