summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorFernando S <fsahmkow27@gmail.com>2022-03-15 00:08:05 +0100
committerGitHub <noreply@github.com>2022-03-15 00:08:05 +0100
commitf9e1f559b103fb6e716a070cebd2c075bd33de6e (patch)
tree37b027fce0744466d4b19464de1f8cf9009a402d /src/video_core/renderer_vulkan
parentMerge pull request #8015 from FernandoS27/fix-global-mem (diff)
parentMaxwell3D: Link to override constant definition in nouveau (diff)
downloadyuzu-f9e1f559b103fb6e716a070cebd2c075bd33de6e.tar
yuzu-f9e1f559b103fb6e716a070cebd2c075bd33de6e.tar.gz
yuzu-f9e1f559b103fb6e716a070cebd2c075bd33de6e.tar.bz2
yuzu-f9e1f559b103fb6e716a070cebd2c075bd33de6e.tar.lz
yuzu-f9e1f559b103fb6e716a070cebd2c075bd33de6e.tar.xz
yuzu-f9e1f559b103fb6e716a070cebd2c075bd33de6e.tar.zst
yuzu-f9e1f559b103fb6e716a070cebd2c075bd33de6e.zip
Diffstat (limited to 'src/video_core/renderer_vulkan')
-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;