diff options
Diffstat (limited to 'video/out/vulkan/ra_vk.h')
-rw-r--r-- | video/out/vulkan/ra_vk.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/video/out/vulkan/ra_vk.h b/video/out/vulkan/ra_vk.h index 8939bc7ce0..da613c7f5b 100644 --- a/video/out/vulkan/ra_vk.h +++ b/video/out/vulkan/ra_vk.h @@ -16,6 +16,10 @@ VkDevice ra_vk_get_dev(struct ra *ra); struct ra_tex *ra_vk_wrap_swapchain_img(struct ra *ra, VkImage vkimg, VkSwapchainCreateInfoKHR info); +// Associates an external semaphore (dependency) with a ra_tex, such that this +// ra_tex will not be used by the ra_vk until the external semaphore fires. +void ra_tex_vk_external_dep(struct ra *ra, struct ra_tex *tex, VkSemaphore dep); + // This function finalizes rendering, transitions `tex` (which must be a // wrapped swapchain image) into a format suitable for presentation, and returns // the resulting command buffer (or NULL on error). The caller may add their |