diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2022-03-24 04:30:17 +0100 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2022-03-24 04:30:17 +0100 |
commit | 8d45dd3b738854fb22e0c32b627f1b07dd2e497d (patch) | |
tree | 2748887d1e494f483c74690d5ad2574901a450af /src/video_core/renderer_vulkan/vk_texture_cache.cpp | |
parent | Merge pull request #8073 from Shoegzer/compile_fixes (diff) | |
download | yuzu-8d45dd3b738854fb22e0c32b627f1b07dd2e497d.tar yuzu-8d45dd3b738854fb22e0c32b627f1b07dd2e497d.tar.gz yuzu-8d45dd3b738854fb22e0c32b627f1b07dd2e497d.tar.bz2 yuzu-8d45dd3b738854fb22e0c32b627f1b07dd2e497d.tar.lz yuzu-8d45dd3b738854fb22e0c32b627f1b07dd2e497d.tar.xz yuzu-8d45dd3b738854fb22e0c32b627f1b07dd2e497d.tar.zst yuzu-8d45dd3b738854fb22e0c32b627f1b07dd2e497d.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_texture_cache.cpp')
-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 83a23b66a..0d0e02a6e 100644 --- a/src/video_core/renderer_vulkan/vk_texture_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_texture_cache.cpp @@ -1442,8 +1442,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); } |