From 1d7abac84be5652ba4fc5d9b7ebc006f425bb4fe Mon Sep 17 00:00:00 2001
From: GPUCode <geoster3d@gmail.com>
Date: Mon, 10 Apr 2023 15:26:59 +0300
Subject: [PATCH] vk_blit_screen: Recreate FSR when frame is recreated

* Depends on the layout dimentions and thus should be recreated as well
---
 src/video_core/renderer_vulkan/vk_blit_screen.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/video_core/renderer_vulkan/vk_blit_screen.cpp b/src/video_core/renderer_vulkan/vk_blit_screen.cpp
index 4e8ce3ec77..1e0fdd3d94 100644
--- a/src/video_core/renderer_vulkan/vk_blit_screen.cpp
+++ b/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);
     }