mesa/src/vulkan/util
Alejandro Piñeiro 821c66e50c 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.

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>
2022-01-14 10:31:15 +00:00
..
gen_enum_to_str.py vulkan: return default string for undefined enum 2022-01-14 10:31:15 +00:00
meson.build vulkan: Move all the common object code to runtime/ 2021-10-29 23:12:32 +00:00
vk_alloc.c vulkan/util: add vk_default_allocator 2021-06-03 08:13:26 +00:00
vk_alloc.h vulkan/util: Cast vk_alloc pointers 2021-09-29 17:42:17 +00:00
vk_cmd_queue_gen.py lvp: Free the driver_data pointer for all commands 2021-12-14 09:46:39 +01:00
vk_commands_gen.py lavapipe: fix cmd queuing for dynamic render 2021-11-04 03:22:09 +00:00
vk_dispatch_table_gen.py vulkan: Move trampoline code-gen to its own file 2021-10-29 23:12:32 +00:00
vk_dispatch_trampolines_gen.py vulkan: Move trampoline code-gen to its own file 2021-10-29 23:12:32 +00:00
vk_entrypoints.py vulkan: Break entrypoint parsing into its own file 2021-10-29 23:12:32 +00:00
vk_entrypoints_gen.py vulkan: Open registry XML files as UTF-8 2021-12-05 03:28:38 +08:00
vk_extensions.py vulkan: Update the XML and headers to 1.2.193 2021-09-24 17:55:10 +00:00
vk_extensions_gen.py vulkan/vk_extensions_gen: Stop including vk_object.h 2021-10-29 23:12:32 +00:00
vk_format.c vk/format, v3dv: Add a vulkan -> pipe swizzle helper 2021-10-18 16:00:38 +00:00
vk_format.h vulkan: move common format helpers to vk_format 2021-11-19 12:23:19 +01:00
vk_icd_gen.py vulkan, radv: Support backslash in ICD paths 2021-11-10 09:48:41 +00:00
vk_util.c vulkan: add vk_spec_info_to_nir_spirv util method 2021-07-29 03:28:52 +00:00
vk_util.h vulkan: fix uninitialized variables 2021-11-23 19:11:05 +00:00