From 60995d649d4841f5bce52eb08fe24675a3c3ded5 Mon Sep 17 00:00:00 2001 From: Bix Date: Sat, 22 Nov 2025 13:21:04 +0000 Subject: [PATCH] Test Do not use D24 --- src/video_core/vulkan_common/vulkan_device.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index 93a87e1956..489f724ba9 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp @@ -712,6 +712,9 @@ Device::~Device() { VkFormat Device::GetSupportedFormat(VkFormat wanted_format, VkFormatFeatureFlags wanted_usage, FormatType format_type) const { + if (wanted_format == VK_FORMAT_D24_UNORM_S8_UINT) { + return VK_FORMAT_D32_SFLOAT_S8_UINT; + } if (IsFormatSupported(wanted_format, wanted_usage, format_type)) { return wanted_format; }