Skip to content

vulkan: return default string for undefined enum

Instead of a unreachable.

This would avoid an assert on debug builds that uses vkfoo_to_str to print structure types. This will become more common as some tests will start to use VK_STRUCTURE_TYPE_MAX_ENUM to mark structures from unsupported extensions more often.

Merge request reports