[gtk/vulkan-warning] vulkan: Add missing enumeration value



commit f25832455f999f6d47dc158a28a798f834bbc42f
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Fri Apr 12 18:03:22 2019 +0100

    vulkan: Add missing enumeration value
    
    Vulkan 1.1.97 added VK_ERROR_INVALID_DEVICE_ADDRESS_EXT, and we now must
    handle it.

 gdk/gdkvulkancontext.c | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/gdk/gdkvulkancontext.c b/gdk/gdkvulkancontext.c
index 6d5f72a3ce..e72a01835f 100644
--- a/gdk/gdkvulkancontext.c
+++ b/gdk/gdkvulkancontext.c
@@ -194,6 +194,10 @@ gdk_vulkan_strerror (VkResult result)
     case VK_ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT:
       return "Invalid DRM format modifier plane layout";
 #endif
+#if VK_HEADER_VERSION >= 97
+    case VK_ERROR_INVALID_DEVICE_ADDRESS_EXT:
+      return "Invalid device address";
+#endif
 
     case VK_RESULT_RANGE_SIZE:
     case VK_RESULT_MAX_ENUM:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]