From 076bd749e18aa79af777ff9e1278e2ce2c46a314 Mon Sep 17 00:00:00 2001 From: Xphalnos <164882787+Xphalnos@users.noreply.github.com> Date: Tue, 31 Dec 2024 22:44:20 +0100 Subject: [PATCH] Show missing format before crash --- src/video_core/renderer_vulkan/liverpool_to_vk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video_core/renderer_vulkan/liverpool_to_vk.h b/src/video_core/renderer_vulkan/liverpool_to_vk.h index dae6eb313..acfe8e2fe 100644 --- a/src/video_core/renderer_vulkan/liverpool_to_vk.h +++ b/src/video_core/renderer_vulkan/liverpool_to_vk.h @@ -81,7 +81,7 @@ static inline vk::Format PromoteFormatToDepth(vk::Format fmt) { } else if (fmt == vk::Format::eR8G8B8A8Srgb) { return vk::Format::eR32Uint; } - UNREACHABLE(); + UNREACHABLE_MSG("Unexpected Depth Format {}", vk::to_string(fmt)); } } // namespace Vulkan::LiverpoolToVK