mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-26 06:35:58 +01:00
render/vulkan: add missing entries in vulkan_strerror()
And update the sort order to follow Khronos' <vulkan/vulkan_core.h>.
This commit is contained in:
parent
b475190327
commit
9e5ad7a845
1 changed files with 10 additions and 6 deletions
|
@ -28,7 +28,6 @@ const char *vulkan_strerror(VkResult err) {
|
||||||
ERR_STR(EVENT_SET);
|
ERR_STR(EVENT_SET);
|
||||||
ERR_STR(EVENT_RESET);
|
ERR_STR(EVENT_RESET);
|
||||||
ERR_STR(INCOMPLETE);
|
ERR_STR(INCOMPLETE);
|
||||||
ERR_STR(SUBOPTIMAL_KHR);
|
|
||||||
ERR_STR(ERROR_OUT_OF_HOST_MEMORY);
|
ERR_STR(ERROR_OUT_OF_HOST_MEMORY);
|
||||||
ERR_STR(ERROR_OUT_OF_DEVICE_MEMORY);
|
ERR_STR(ERROR_OUT_OF_DEVICE_MEMORY);
|
||||||
ERR_STR(ERROR_INITIALIZATION_FAILED);
|
ERR_STR(ERROR_INITIALIZATION_FAILED);
|
||||||
|
@ -40,14 +39,19 @@ const char *vulkan_strerror(VkResult err) {
|
||||||
ERR_STR(ERROR_INCOMPATIBLE_DRIVER);
|
ERR_STR(ERROR_INCOMPATIBLE_DRIVER);
|
||||||
ERR_STR(ERROR_TOO_MANY_OBJECTS);
|
ERR_STR(ERROR_TOO_MANY_OBJECTS);
|
||||||
ERR_STR(ERROR_FORMAT_NOT_SUPPORTED);
|
ERR_STR(ERROR_FORMAT_NOT_SUPPORTED);
|
||||||
|
ERR_STR(ERROR_FRAGMENTED_POOL);
|
||||||
|
ERR_STR(ERROR_UNKNOWN);
|
||||||
|
ERR_STR(ERROR_OUT_OF_POOL_MEMORY);
|
||||||
|
ERR_STR(ERROR_INVALID_EXTERNAL_HANDLE);
|
||||||
|
ERR_STR(ERROR_FRAGMENTATION);
|
||||||
|
ERR_STR(ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS);
|
||||||
|
ERR_STR(PIPELINE_COMPILE_REQUIRED);
|
||||||
ERR_STR(ERROR_SURFACE_LOST_KHR);
|
ERR_STR(ERROR_SURFACE_LOST_KHR);
|
||||||
ERR_STR(ERROR_NATIVE_WINDOW_IN_USE_KHR);
|
ERR_STR(ERROR_NATIVE_WINDOW_IN_USE_KHR);
|
||||||
|
ERR_STR(SUBOPTIMAL_KHR);
|
||||||
ERR_STR(ERROR_OUT_OF_DATE_KHR);
|
ERR_STR(ERROR_OUT_OF_DATE_KHR);
|
||||||
ERR_STR(ERROR_FRAGMENTED_POOL);
|
|
||||||
ERR_STR(ERROR_INCOMPATIBLE_DISPLAY_KHR);
|
ERR_STR(ERROR_INCOMPATIBLE_DISPLAY_KHR);
|
||||||
ERR_STR(ERROR_VALIDATION_FAILED_EXT);
|
ERR_STR(ERROR_VALIDATION_FAILED_EXT);
|
||||||
ERR_STR(ERROR_INVALID_EXTERNAL_HANDLE);
|
|
||||||
ERR_STR(ERROR_OUT_OF_POOL_MEMORY);
|
|
||||||
ERR_STR(ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT);
|
ERR_STR(ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT);
|
||||||
default:
|
default:
|
||||||
return "<unknown>";
|
return "<unknown>";
|
||||||
|
|
Loading…
Reference in a new issue