Răsfoiți Sursa

vk_blit_screen: Recreate FSR when frame is recreated

* Depends on the layout dimentions and thus should be recreated as well
GPUCode 3 ani în urmă
părinte
comite
1d7abac84b
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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);
     }