mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-12-25 19:02:45 -06:00
vk_blit_screen: Recreate FSR when frame is recreated
* Depends on the layout dimentions and thus should be recreated as well
This commit is contained in:
parent
50791cb974
commit
1d7abac84b
1 changed files with 1 additions and 1 deletions
|
@ -450,7 +450,7 @@ void BlitScreen::DrawToSwapchain(Frame* frame, const Tegra::FramebufferConfig& f
|
||||||
const Layout::FramebufferLayout layout = render_window.GetFramebufferLayout();
|
const Layout::FramebufferLayout layout = render_window.GetFramebufferLayout();
|
||||||
if (layout.width != frame->width || layout.height != frame->height ||
|
if (layout.width != frame->width || layout.height != frame->height ||
|
||||||
is_srgb != frame->is_srgb) {
|
is_srgb != frame->is_srgb) {
|
||||||
scheduler.Finish();
|
Recreate();
|
||||||
present_manager.RecreateFrame(frame, layout.width, layout.height, is_srgb,
|
present_manager.RecreateFrame(frame, layout.width, layout.height, is_srgb,
|
||||||
image_view_format, *renderpass);
|
image_view_format, *renderpass);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue