diff options
author | Squall-Leonhart <danialhorton@hotmail.com> | 2023-10-04 10:07:05 +0200 |
---|---|---|
committer | Squall-Leonhart <danialhorton@hotmail.com> | 2023-10-04 10:07:05 +0200 |
commit | 9568d3bc60c428cd7e13ef67cc50cfdbdc7a7c8f (patch) | |
tree | bf75fb999488b2924da7c03b60dac5e880e54f30 /src/video_core/renderer_vulkan/vk_texture_cache.cpp | |
parent | Merge pull request #11657 from liamwhite/new-codespell (diff) | |
download | yuzu-9568d3bc60c428cd7e13ef67cc50cfdbdc7a7c8f.tar yuzu-9568d3bc60c428cd7e13ef67cc50cfdbdc7a7c8f.tar.gz yuzu-9568d3bc60c428cd7e13ef67cc50cfdbdc7a7c8f.tar.bz2 yuzu-9568d3bc60c428cd7e13ef67cc50cfdbdc7a7c8f.tar.lz yuzu-9568d3bc60c428cd7e13ef67cc50cfdbdc7a7c8f.tar.xz yuzu-9568d3bc60c428cd7e13ef67cc50cfdbdc7a7c8f.tar.zst yuzu-9568d3bc60c428cd7e13ef67cc50cfdbdc7a7c8f.zip |
Diffstat (limited to '')
-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 71fdec809..f02d3e8b8 100644 --- a/src/video_core/renderer_vulkan/vk_texture_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_texture_cache.cpp @@ -1200,6 +1200,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) { |