diff options
author | Kelebek1 <eeeedddccc@hotmail.co.uk> | 2023-10-06 01:58:30 +0200 |
---|---|---|
committer | Kelebek1 <eeeedddccc@hotmail.co.uk> | 2023-10-06 01:58:30 +0200 |
commit | ad1a9f3d3af3ffb49a81e0c9d27301b824d9f7dd (patch) | |
tree | a17657370a25a30ced37cd016356c2b0d3102be3 /src/video_core/renderer_vulkan/vk_texture_cache.cpp | |
parent | Merge pull request #11657 from liamwhite/new-codespell (diff) | |
download | yuzu-ad1a9f3d3af3ffb49a81e0c9d27301b824d9f7dd.tar yuzu-ad1a9f3d3af3ffb49a81e0c9d27301b824d9f7dd.tar.gz yuzu-ad1a9f3d3af3ffb49a81e0c9d27301b824d9f7dd.tar.bz2 yuzu-ad1a9f3d3af3ffb49a81e0c9d27301b824d9f7dd.tar.lz yuzu-ad1a9f3d3af3ffb49a81e0c9d27301b824d9f7dd.tar.xz yuzu-ad1a9f3d3af3ffb49a81e0c9d27301b824d9f7dd.tar.zst yuzu-ad1a9f3d3af3ffb49a81e0c9d27301b824d9f7dd.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 | 1 |
1 files changed, 1 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..e266c1dbe 100644 --- a/src/video_core/renderer_vulkan/vk_texture_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_texture_cache.cpp @@ -238,6 +238,7 @@ constexpr VkBorderColor ConvertBorderColor(const std::array<float, 4>& color) { return any_r ? VK_IMAGE_ASPECT_STENCIL_BIT : VK_IMAGE_ASPECT_DEPTH_BIT; case PixelFormat::D16_UNORM: case PixelFormat::D32_FLOAT: + case PixelFormat::X8_D24_UNORM: return VK_IMAGE_ASPECT_DEPTH_BIT; case PixelFormat::S8_UINT: return VK_IMAGE_ASPECT_STENCIL_BIT; |