diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-10-07 18:49:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-07 18:49:48 +0200 |
commit | a27f94830ae8a9b68a64e092009e6e7e31659753 (patch) | |
tree | 6c42b0186826a31bbc207f2912a6506b2782cc1b /src/video_core/renderer_vulkan/vk_texture_cache.cpp | |
parent | Merge pull request #11630 from Kelebek1/clear_stencil_requires_depth_test (diff) | |
parent | update shader to confirmed format copy (diff) | |
download | yuzu-a27f94830ae8a9b68a64e092009e6e7e31659753.tar yuzu-a27f94830ae8a9b68a64e092009e6e7e31659753.tar.gz yuzu-a27f94830ae8a9b68a64e092009e6e7e31659753.tar.bz2 yuzu-a27f94830ae8a9b68a64e092009e6e7e31659753.tar.lz yuzu-a27f94830ae8a9b68a64e092009e6e7e31659753.tar.xz yuzu-a27f94830ae8a9b68a64e092009e6e7e31659753.tar.zst yuzu-a27f94830ae8a9b68a64e092009e6e7e31659753.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, 3 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_texture_cache.cpp b/src/video_core/renderer_vulkan/vk_texture_cache.cpp index e266c1dbe..00ab47268 100644 --- a/src/video_core/renderer_vulkan/vk_texture_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_texture_cache.cpp @@ -1201,6 +1201,9 @@ void TextureCacheRuntime::ConvertImage(Framebuffer* dst, ImageView& dst_view, Im if (src_view.format == PixelFormat::D24_UNORM_S8_UINT) { return blit_image_helper.ConvertS8D24ToABGR8(dst, src_view); } + if (src_view.format == PixelFormat::D32_FLOAT) { + return blit_image_helper.ConvertD32FToABGR8(dst, src_view); + } break; case PixelFormat::R32_FLOAT: if (src_view.format == PixelFormat::D32_FLOAT) { |