mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-17 17:10:38 +01:00
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.
v2 (Jason):
* Include enum name on the default message
* Handle MAX_ENUM as a special case
v3 (Jason):
* vk_ObjectType_to_ObjectName don't need to use ${enum.name}
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14525>
|
||
|---|---|---|
| .. | ||
| gen_enum_to_str.py | ||
| meson.build | ||
| vk_alloc.c | ||
| vk_alloc.h | ||
| vk_cmd_queue_gen.py | ||
| vk_commands_gen.py | ||
| vk_dispatch_table_gen.py | ||
| vk_dispatch_trampolines_gen.py | ||
| vk_entrypoints.py | ||
| vk_entrypoints_gen.py | ||
| vk_extensions.py | ||
| vk_extensions_gen.py | ||
| vk_format.c | ||
| vk_format.h | ||
| vk_icd_gen.py | ||
| vk_util.c | ||
| vk_util.h | ||