#include #include // generated by util/gen_enum_to_str.py from the mesa project const char *vk_Result_to_str(VkResult input) { switch ((int64_t)input) { case -1000338000: return "VK_ERROR_COMPRESSION_EXHAUSTED_EXT"; case -1000299000: return "VK_ERROR_INVALID_VIDEO_STD_PARAMETERS_KHR"; case -1000257000: return "VK_ERROR_INVALID_DEVICE_ADDRESS_EXT"; case -1000255000: return "VK_ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT"; case -1000174001: return "VK_ERROR_NOT_PERMITTED_KHR"; case -1000161000: return "VK_ERROR_FRAGMENTATION"; case -1000158000: return "VK_ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT"; case -1000072003: return "VK_ERROR_INVALID_EXTERNAL_HANDLE"; case -1000069000: return "VK_ERROR_OUT_OF_POOL_MEMORY"; case -1000023005: return "VK_ERROR_VIDEO_STD_VERSION_NOT_SUPPORTED_KHR"; case -1000023004: return "VK_ERROR_VIDEO_PROFILE_CODEC_NOT_SUPPORTED_KHR"; case -1000023003: return "VK_ERROR_VIDEO_PROFILE_FORMAT_NOT_SUPPORTED_KHR"; case -1000023002: return "VK_ERROR_VIDEO_PROFILE_OPERATION_NOT_SUPPORTED_KHR"; case -1000023001: return "VK_ERROR_VIDEO_PICTURE_LAYOUT_NOT_SUPPORTED_KHR"; case -1000023000: return "VK_ERROR_IMAGE_USAGE_NOT_SUPPORTED_KHR"; case -1000012000: return "VK_ERROR_INVALID_SHADER_NV"; case -1000011001: return "VK_ERROR_VALIDATION_FAILED_EXT"; case -1000003001: return "VK_ERROR_INCOMPATIBLE_DISPLAY_KHR"; case -1000001004: return "VK_ERROR_OUT_OF_DATE_KHR"; case -1000000001: return "VK_ERROR_NATIVE_WINDOW_IN_USE_KHR"; case -1000000000: return "VK_ERROR_SURFACE_LOST_KHR"; case -13: return "VK_ERROR_UNKNOWN"; case -12: return "VK_ERROR_FRAGMENTED_POOL"; case -11: return "VK_ERROR_FORMAT_NOT_SUPPORTED"; case -10: return "VK_ERROR_TOO_MANY_OBJECTS"; case -9: return "VK_ERROR_INCOMPATIBLE_DRIVER"; case -8: return "VK_ERROR_FEATURE_NOT_PRESENT"; case -7: return "VK_ERROR_EXTENSION_NOT_PRESENT"; case -6: return "VK_ERROR_LAYER_NOT_PRESENT"; case -5: return "VK_ERROR_MEMORY_MAP_FAILED"; case -4: return "VK_ERROR_DEVICE_LOST"; case -3: return "VK_ERROR_INITIALIZATION_FAILED"; case -2: return "VK_ERROR_OUT_OF_DEVICE_MEMORY"; case -1: return "VK_ERROR_OUT_OF_HOST_MEMORY"; case 0: return "VK_SUCCESS"; case 1: return "VK_NOT_READY"; case 2: return "VK_TIMEOUT"; case 3: return "VK_EVENT_SET"; case 4: return "VK_EVENT_RESET"; case 5: return "VK_INCOMPLETE"; case 1000001003: return "VK_SUBOPTIMAL_KHR"; case 1000268000: return "VK_THREAD_IDLE_KHR"; case 1000268001: return "VK_THREAD_DONE_KHR"; case 1000268002: return "VK_OPERATION_DEFERRED_KHR"; case 1000268003: return "VK_OPERATION_NOT_DEFERRED_KHR"; case 1000297000: return "VK_PIPELINE_COMPILE_REQUIRED"; case 1000482000: return "VK_ERROR_INCOMPATIBLE_SHADER_BINARY_EXT"; case VK_RESULT_MAX_ENUM: return "VK_RESULT_MAX_ENUM"; default: return "Unknown VkResult value."; } }