aboutsummaryrefslogtreecommitdiff
path: root/include/render
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-04-14 15:49:43 +0200
committerSimon Zeni <simon@bl4ckb0ne.ca>2023-04-28 15:36:39 +0000
commitf5a5712a026340a4aa3204ca4fec668f32d9ac61 (patch)
treefd979c86c7e9254195872dc1621102ebb9457c84 /include/render
parent6830bfc17fd94709e2cdd4da0af989f102a26e59 (diff)
render/vulkan: use VK_KHR_synchronization2
This simplifies the vkQueueSubmit call, removing the need to pass timeline semaphore point values as separate arrays.
Diffstat (limited to 'include/render')
-rw-r--r--include/render/vulkan.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/render/vulkan.h b/include/render/vulkan.h
index 1071c20b..01565cb6 100644
--- a/include/render/vulkan.h
+++ b/include/render/vulkan.h
@@ -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;