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

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