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. |
||
---|---|---|
.. | ||
shaders | ||
meson.build | ||
pixel_format.c | ||
renderer.c | ||
texture.c | ||
util.c | ||
vulkan.c |