vulkan: Add another two error codes

Those two come from the VK_KHR_pipeline_binary extension and have been added in
Vulkan 1.3.294.
This commit is contained in:
Emmanuel Gil Peyrot 2024-09-10 22:45:17 +00:00
parent 348e938698
commit abd8d40bf9

View File

@ -274,6 +274,12 @@ gdk_vulkan_strerror (VkResult result)
case VK_ERROR_INVALID_VIDEO_STD_PARAMETERS_KHR:
return "The specified Video Std parameters do not adhere to the syntactic or semantic requirements of the used video compression standard or implementation";
#endif
#if VK_HEADER_VERSION >= 294
case VK_PIPELINE_BINARY_MISSING_KHR:
return "The application attempted to create a pipeline binary by querying an internal cache, but the internal cache entry did not exist. (VK_PIPELINE_BINARY_MISSING_KHR)";
case VK_ERROR_NOT_ENOUGH_SPACE_KHR:
return "The application did not provide enough space to return all the required data. (VK_ERROR_NOT_ENOUGH_SPACE_KHR)";
#endif
case VK_RESULT_MAX_ENUM:
default: