diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-11-20 00:02:12 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-11-20 00:02:12 +0100 |
commit | e02cff2f69f9a90777f87f85f290f83fc04c16ec (patch) | |
tree | 3d83cf6cbd4e3ba7c8120e3c5dadbef925305493 /src/video_core/renderer_vulkan/vk_texture_cache.cpp | |
parent | TextureCache: Add B10G11R11 to D24S8 converter. (diff) | |
download | yuzu-e02cff2f69f9a90777f87f85f290f83fc04c16ec.tar yuzu-e02cff2f69f9a90777f87f85f290f83fc04c16ec.tar.gz yuzu-e02cff2f69f9a90777f87f85f290f83fc04c16ec.tar.bz2 yuzu-e02cff2f69f9a90777f87f85f290f83fc04c16ec.tar.lz yuzu-e02cff2f69f9a90777f87f85f290f83fc04c16ec.tar.xz yuzu-e02cff2f69f9a90777f87f85f290f83fc04c16ec.tar.zst yuzu-e02cff2f69f9a90777f87f85f290f83fc04c16ec.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 28a659c0e..af1a11059 100644 --- a/src/video_core/renderer_vulkan/vk_texture_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_texture_cache.cpp @@ -915,6 +915,9 @@ void TextureCacheRuntime::ConvertImage(Framebuffer* dst, ImageView& dst_view, Im if (src_view.format == PixelFormat::B10G11R11_FLOAT) { return blit_image_helper.ConvertB10G11R11ToD24S8(dst, src_view, up_scale, down_shift); } + if (src_view.format == PixelFormat::R16G16_UNORM) { + return blit_image_helper.ConvertR16G16ToD24S8(dst, src_view, up_scale, down_shift); + } break; case PixelFormat::D32_FLOAT: if (src_view.format == PixelFormat::R32_FLOAT) { |