Show missing format before crash

This commit is contained in:
Xphalnos 2024-12-31 22:44:20 +01:00
parent 4bae39f0c8
commit 076bd749e1

View File

@ -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