aboutsummaryrefslogtreecommitdiff
path: root/include/render
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-05-30 14:11:34 +0200
committerSimon Ser <contact@emersion.fr>2023-06-01 10:42:56 +0200
commit0ba3ea3bcd1e98b6c499df33f260e2a676b71f9d (patch)
tree8efa1a955f46934b5b0025c27acda571d2713800 /include/render
parent30aca4df0de6797df4d1f41550958935f986a4c9 (diff)
render/vulkan: improve error handling in render_pass_submit()
Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3644
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 819ebbf3..3a51b0bf 100644
--- a/include/render/vulkan.h
+++ b/include/render/vulkan.h
@@ -328,6 +328,7 @@ struct wlr_vk_command_buffer *vulkan_acquire_command_buffer(
struct wlr_vk_renderer *renderer);
uint64_t vulkan_end_command_buffer(struct wlr_vk_command_buffer *cb,
struct wlr_vk_renderer *renderer);
+void vulkan_reset_command_buffer(struct wlr_vk_command_buffer *cb);
bool vulkan_wait_command_buffer(struct wlr_vk_command_buffer *cb,
struct wlr_vk_renderer *renderer);