Add unexcepted depth format to unreachable (#2557)

This commit is contained in:
Randomuser8219 2025-02-28 00:16:53 -08:00 committed by GitHub
parent 169cbe90a5
commit 6331eb1d8a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -104,7 +104,7 @@ static inline vk::Format PromoteFormatToDepth(vk::Format fmt) {
} else if (fmt == vk::Format::eR16Unorm) {
return vk::Format::eD16Unorm;
}
UNREACHABLE();
UNREACHABLE_MSG("Unexpected depth format {}", vk::to_string(fmt));
}
} // namespace Vulkan::LiverpoolToVK