aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-11-07 15:11:10 +0100
committerSimon Ser <contact@emersion.fr>2022-11-28 23:50:41 +0000
commit2a414c896ec7a4e492d81bc758248c920b47e8d1 (patch)
tree5f8924fcac7f5bb2b4cb68548a72c051b6091cef /util
parent0730552e858361256a9aea42cbfda0f93217df74 (diff)
render/vulkan: destroy textures after command buffer completes
We need to wait for any pending command buffer to complete before we're able to fully destroy a struct wlr_vk_texture: the Vulkan spec requires the VkDescriptorSet to be kept alive. So far we've done this in vulkan_end(), after blocking until the command buffer completes. We'll soon stop blocking, so move this logic in get_command_buffer(), where we check which commands buffers have completed in a non-blocking fashion.
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions