summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-03-11 01:44:25 +0100
committerLiam <byteslice@airmail.cc>2022-03-11 02:25:34 +0100
commit82c3042c0f0a4e0c4fdefd64c2f2b5b3b2a31e3b (patch)
tree3ddc1a19996d3dcb7d40122044b2f34f99fae7cb /src/video_core
parentMaxwell3D: read small-index draw and primitive topology override registers (diff)
downloadyuzu-82c3042c0f0a4e0c4fdefd64c2f2b5b3b2a31e3b.tar
yuzu-82c3042c0f0a4e0c4fdefd64c2f2b5b3b2a31e3b.tar.gz
yuzu-82c3042c0f0a4e0c4fdefd64c2f2b5b3b2a31e3b.tar.bz2
yuzu-82c3042c0f0a4e0c4fdefd64c2f2b5b3b2a31e3b.tar.lz
yuzu-82c3042c0f0a4e0c4fdefd64c2f2b5b3b2a31e3b.tar.xz
yuzu-82c3042c0f0a4e0c4fdefd64c2f2b5b3b2a31e3b.tar.zst
yuzu-82c3042c0f0a4e0c4fdefd64c2f2b5b3b2a31e3b.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_vulkan/vk_texture_cache.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_texture_cache.cpp b/src/video_core/renderer_vulkan/vk_texture_cache.cpp
index 0f62779de..ca6019a3a 100644
--- a/src/video_core/renderer_vulkan/vk_texture_cache.cpp
+++ b/src/video_core/renderer_vulkan/vk_texture_cache.cpp
@@ -1067,7 +1067,8 @@ void TextureCacheRuntime::ConvertImage(Framebuffer* dst, ImageView& dst_view, Im
}
break;
case PixelFormat::A8B8G8R8_UNORM:
- if (src_view.format == PixelFormat::S8_UINT_D24_UNORM) {
+ if (src_view.format == PixelFormat::S8_UINT_D24_UNORM ||
+ src_view.format == PixelFormat::D24_UNORM_S8_UINT) {
return blit_image_helper.ConvertD24S8ToABGR8(dst, src_view);
}
break;