diff options
author | FernandoS27 <fsahmkow27@gmail.com> | 2021-10-19 18:32:08 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-11-16 22:11:31 +0100 |
commit | 150bc45401c7c6e5cbcf936371269f0c1d2a0e83 (patch) | |
tree | 42003f608e548222029e54b81fd16fb4e4bd9f6e /src | |
parent | TextureCache: Fix blitting filter in Vulkan and correct viewport/scissor calculation when downscaling. (diff) | |
download | yuzu-150bc45401c7c6e5cbcf936371269f0c1d2a0e83.tar yuzu-150bc45401c7c6e5cbcf936371269f0c1d2a0e83.tar.gz yuzu-150bc45401c7c6e5cbcf936371269f0c1d2a0e83.tar.bz2 yuzu-150bc45401c7c6e5cbcf936371269f0c1d2a0e83.tar.lz yuzu-150bc45401c7c6e5cbcf936371269f0c1d2a0e83.tar.xz yuzu-150bc45401c7c6e5cbcf936371269f0c1d2a0e83.tar.zst yuzu-150bc45401c7c6e5cbcf936371269f0c1d2a0e83.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_texture_cache.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_vulkan/vk_texture_cache.cpp b/src/video_core/renderer_vulkan/vk_texture_cache.cpp index 84ec803ba..7c8732ec1 100644 --- a/src/video_core/renderer_vulkan/vk_texture_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_texture_cache.cpp @@ -1214,7 +1214,7 @@ bool Image::ScaleUp(bool ignore) { aspect_mask == (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT)) { if (!scale_framebuffer) { scale_framebuffer = - std::make_unique<Framebuffer>(*runtime, view_ptr, nullptr, extent); + std::make_unique<Framebuffer>(*runtime, nullptr, view_ptr, extent); } runtime->blit_image_helper.BlitDepthStencil( scale_framebuffer.get(), scale_view->DepthView(), scale_view->StencilView(), @@ -1295,7 +1295,7 @@ bool Image::ScaleDown(bool ignore) { aspect_mask == (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT)) { if (!normal_framebuffer) { normal_framebuffer = - std::make_unique<Framebuffer>(*runtime, view_ptr, nullptr, extent); + std::make_unique<Framebuffer>(*runtime, nullptr, view_ptr, extent); } runtime->blit_image_helper.BlitDepthStencil( normal_framebuffer.get(), normal_view->DepthView(), normal_view->StencilView(), |