vulkan: Add new error code
authorBenjamin Otte <otte@redhat.com>
Thu, 20 Jul 2023 01:10:28 +0000 (03:10 +0200)
committerBenjamin Otte <otte@redhat.com>
Fri, 21 Jul 2023 23:33:44 +0000 (01:33 +0200)
gdk/gdkvulkancontext.c

index 0ad81ed70a477d740503187e990b721c033c4fa5..5854389d627926cbc743e8a7beee25d002efaa9f 100644 (file)
@@ -241,6 +241,10 @@ gdk_vulkan_strerror (VkResult result)
       return "Codec-specific parameters in a requested (VK_ERROR_VIDEO_PROFILE_CODEC_NOT_SUPPORTED_KHR)";
     case VK_ERROR_VIDEO_STD_VERSION_NOT_SUPPORTED_KHR:
       return "The specified video Std header version is not supported. (VK_ERROR_VIDEO_STD_VERSION_NOT_SUPPORTED_KHR)";
+#endif
+#if VK_HEADER_VERSION >= 246
+    case VK_ERROR_INCOMPATIBLE_SHADER_BINARY_EXT:
+      return "The provided binary shader code is not compatible with this device."
 #endif
     case VK_RESULT_MAX_ENUM:
     default: