VkImage (*create_presentable_image)(VkDevice device, const VkImageCreateInfo *info,
tbm_surface_h buffer);
VkBool32 (*signal_semaphore)(VkSemaphore semaphore);
- VkBool32 (*wait_for_semaphores)(uint32_t count, VkSemaphore *semaphores);
+ VkBool32 (*wait_for_semaphores)(uint32_t count, const VkSemaphore *semaphores);
VkBool32 (*signal_fence)(VkFence fence);
};
}
VkBool32
-vk_icd_wait_for_semaphores(uint32_t count, VkSemaphore *semaphores)
+vk_icd_wait_for_semaphores(uint32_t count, const VkSemaphore *semaphores)
{
return icd.wait_for_semaphores(count, semaphores);
}
vk_signal_semaphore(VkSemaphore semaphore);
VkBool32
-vk_wait_for_semaphores(uint32_t count, VkSemaphore *semaphores);
+vk_wait_for_semaphores(uint32_t count, const VkSemaphore *semaphores);
VkBool32
vk_signal_fence(VkFence fence);
vk_icd_signal_semaphore(VkSemaphore semaphore);
VkBool32
-vk_icd_wait_for_semaphores(uint32_t count, VkSemaphore *semaphores);
+vk_icd_wait_for_semaphores(uint32_t count, const VkSemaphore *semaphores);
VkBool32
vk_icd_signal_fence(VkFence fence);