mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
vulkan: add additional error codes
This commit is contained in:
parent
0c9c0e40fb
commit
619b1265a2
@ -78,6 +78,12 @@ const char *ff_vk_ret2str(VkResult res)
|
||||
CASE(VK_ERROR_TOO_MANY_OBJECTS);
|
||||
CASE(VK_ERROR_FORMAT_NOT_SUPPORTED);
|
||||
CASE(VK_ERROR_FRAGMENTED_POOL);
|
||||
CASE(VK_ERROR_UNKNOWN);
|
||||
CASE(VK_ERROR_OUT_OF_POOL_MEMORY);
|
||||
CASE(VK_ERROR_INVALID_EXTERNAL_HANDLE);
|
||||
CASE(VK_ERROR_FRAGMENTATION);
|
||||
CASE(VK_ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS);
|
||||
CASE(VK_PIPELINE_COMPILE_REQUIRED);
|
||||
CASE(VK_ERROR_SURFACE_LOST_KHR);
|
||||
CASE(VK_ERROR_NATIVE_WINDOW_IN_USE_KHR);
|
||||
CASE(VK_SUBOPTIMAL_KHR);
|
||||
@ -90,6 +96,13 @@ const char *ff_vk_ret2str(VkResult res)
|
||||
CASE(VK_ERROR_VIDEO_PROFILE_FORMAT_NOT_SUPPORTED_KHR);
|
||||
CASE(VK_ERROR_VIDEO_PROFILE_CODEC_NOT_SUPPORTED_KHR);
|
||||
CASE(VK_ERROR_VIDEO_STD_VERSION_NOT_SUPPORTED_KHR);
|
||||
CASE(VK_ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT);
|
||||
CASE(VK_ERROR_NOT_PERMITTED_KHR);
|
||||
CASE(VK_ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT);
|
||||
CASE(VK_THREAD_IDLE_KHR);
|
||||
CASE(VK_THREAD_DONE_KHR);
|
||||
CASE(VK_OPERATION_DEFERRED_KHR);
|
||||
CASE(VK_OPERATION_NOT_DEFERRED_KHR);
|
||||
default: return "Unknown error";
|
||||
}
|
||||
#undef CASE
|
||||
|
Loading…
Reference in New Issue
Block a user