Browse Source

vk_blit_screen: Recreate FSR when frame is recreated

* Depends on the layout dimentions and thus should be recreated as well
nce_cpp
GPUCode 3 years ago
parent
commit
f9514cbc51
  1. 2
      src/video_core/renderer_vulkan/vk_blit_screen.cpp

2
src/video_core/renderer_vulkan/vk_blit_screen.cpp

@ -450,7 +450,7 @@ void BlitScreen::DrawToSwapchain(Frame* frame, const Tegra::FramebufferConfig& f
const Layout::FramebufferLayout layout = render_window.GetFramebufferLayout();
if (layout.width != frame->width || layout.height != frame->height ||
is_srgb != frame->is_srgb) {
scheduler.Finish();
Recreate();
present_manager.RecreateFrame(frame, layout.width, layout.height, is_srgb,
image_view_format, *renderpass);
}

Loading…
Cancel
Save