diff options
author | bunnei <bunneidev@gmail.com> | 2022-03-31 08:00:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-31 08:00:44 +0200 |
commit | 9b52ee455844519d74bee87a8e6dd911f47145f2 (patch) | |
tree | cc9ddaf9f0452fbe01234f49dfbe2579ab600a64 /src/video_core/renderer_vulkan/vk_texture_cache.cpp | |
parent | Merge pull request #8120 from german77/signal (diff) | |
parent | Vulkan: Use 3D helpers for MSAA scaling on NV drivers 510+ (diff) | |
download | yuzu-9b52ee455844519d74bee87a8e6dd911f47145f2.tar yuzu-9b52ee455844519d74bee87a8e6dd911f47145f2.tar.gz yuzu-9b52ee455844519d74bee87a8e6dd911f47145f2.tar.bz2 yuzu-9b52ee455844519d74bee87a8e6dd911f47145f2.tar.lz yuzu-9b52ee455844519d74bee87a8e6dd911f47145f2.tar.xz yuzu-9b52ee455844519d74bee87a8e6dd911f47145f2.tar.zst yuzu-9b52ee455844519d74bee87a8e6dd911f47145f2.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_texture_cache.cpp | 3 |
1 files changed, 1 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 f2890d263..2c2ccc7c6 100644 --- a/src/video_core/renderer_vulkan/vk_texture_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_texture_cache.cpp @@ -1451,8 +1451,7 @@ bool Image::BlitScaleHelper(bool scale_up) { runtime->blit_image_helper.BlitColor(blit_framebuffer.get(), color_view, dst_region, src_region, operation, BLIT_OPERATION); - } else if (!runtime->device.IsBlitDepthStencilSupported() && - aspect_mask == (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT)) { + } else if (aspect_mask == (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT)) { if (!blit_framebuffer) { blit_framebuffer = std::make_unique<Framebuffer>(*runtime, nullptr, view_ptr, extent); } |