Add unexcepted depth format to unreachable

This commit is contained in:
Randomuser8219 2025-02-27 16:35:41 -08:00 committed by GitHub
parent 63b50ff92c
commit 70f34e2b09
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) { } else if (fmt == vk::Format::eR16Unorm) {
return vk::Format::eD16Unorm; return vk::Format::eD16Unorm;
} }
UNREACHABLE(); UNREACHABLE_MSG("Unexpected depth format {}", vk::to_string(fmt));
} }
} // namespace Vulkan::LiverpoolToVK } // namespace Vulkan::LiverpoolToVK