You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
voidVulkanRenderer::recreate_swapchain() {
m_window->wait_for_focus();
vkDeviceWaitIdle(m_device->device());
// TODO(): This is quite naive, we don't need to recompile the whole frame graph on swapchain invalidation
m_frame_graph.reset();
m_swapchain->recreate(m_window->width(), m_window->height());
m_frame_graph = std::make_unique<FrameGraph>(*m_device, m_command_pool->get(), *m_swapchain);
setup_frame_graph();
The text was updated successfully, but these errors were encountered:
I will close this issue because we will even compile the entire rendergraph on a per-frame basis, so not only during swapchain recreation. From what I understand this is state of the art, as it gives us more freedom over rendering in general.
The text was updated successfully, but these errors were encountered: