Explorar o código

vk_blit_screen: Recreate FSR when frame is recreated

* Depends on the layout dimentions and thus should be recreated as well
GPUCode %!s(int64=3) %!d(string=hai) anos
pai
achega
1d7abac84b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/video_core/renderer_vulkan/vk_blit_screen.cpp

+ 1 - 1
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);
     }