in vulkan when recreating the swapchain. do i also need to free the command buffers or…
- User
in vulkan when recreating the swapchain. do i also need to free the command buffers or can i reuse them?
Assistant
In Vulkan, when recreating the swapchain, you do not need to free the command buffers explicitly. The
vkCreateSwapchainKHRfunction will automatically release any existing swapchain images and their associated command buffers when you create a new swapchain with the same swapchain handle.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.