zink: update profile vulkan version requirements
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 10 Jul 2023 14:00:28 +0000 (17:00 +0300)
committerMarge Bot <emma+marge@anholt.net>
Mon, 10 Jul 2023 21:56:16 +0000 (21:56 +0000)
Pretty much all the profiles references Vulkan 1.2 or 1.3 only
structures but only say they need a 1.0.X version.

This fails parsing of the Vulkan Profile scripts for generating
implementation checks against a particular profile.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24072>

src/gallium/drivers/zink/VP_ZINK_requirements.json

index 7a0673a..0e01451 100644 (file)
@@ -49,7 +49,7 @@
                 "VkPhysicalDeviceTimelineSemaphoreFeaturesKHR": {
                     "timelineSemaphore": true
                 },
-                "VkPhysicalDeviceImagelessFramebufferFeatures": {
+                "VkPhysicalDeviceImagelessFramebufferFeaturesKHR": {
                     "imagelessFramebuffer": true
                 }
             }
     "profiles": {
         "VP_ZINK_gl21_baseline": {
             "version": 1,
-            "api-version": "1.0.196",
+            "api-version": "1.2.0",
             "label": "Zink OpenGL 2.1 Baseline profile",
             "description": "Minimum requirements for Zink OpenGL 2.1 support.",
             "capabilities": [
         },
         "VP_ZINK_gl30_baseline": {
             "version": 1,
-            "api-version": "1.0.196",
+            "api-version": "1.2.0",
             "label": "Zink OpenGL 3.0 Baseline profile",
             "description": "Minimum requirements for Zink OpenGL 3.0 support.",
             "capabilities": [
         },
         "VP_ZINK_gl31_baseline": {
             "version": 1,
-            "api-version": "1.0.196",
+            "api-version": "1.2.0",
             "label": "Zink OpenGL 3.1 Baseline profile",
             "description": "Minimum requirements for Zink OpenGL 3.1 support.",
             "capabilities": [
         },
         "VP_ZINK_gl32_baseline": {
             "version": 1,
-            "api-version": "1.0.196",
+            "api-version": "1.2.0",
             "label": "Zink OpenGL 3.2 Baseline profile",
             "description": "Minimum requirements for Zink OpenGL 3.2 support.",
             "capabilities": [
         },
         "VP_ZINK_gl33_baseline": {
             "version": 1,
-            "api-version": "1.0.196",
+            "api-version": "1.2.0",
             "label": "Zink OpenGL 3.3 Baseline profile",
             "description": "Minimum requirements for Zink OpenGL 3.3 support.",
             "capabilities": [
         },
         "VP_ZINK_gl40_baseline": {
             "version": 1,
-            "api-version": "1.0.196",
+            "api-version": "1.2.0",
             "label": "Zink OpenGL 4.0 Baseline profile",
             "description": "Minimum requirements for Zink OpenGL 4.0 support.",
             "capabilities": [
         },
         "VP_ZINK_gl41_baseline": {
             "version": 1,
-            "api-version": "1.0.211",
+            "api-version": "1.2.0",
             "label": "Zink OpenGL 4.1 Baseline profile",
             "description": "Minimum requirements for Zink OpenGL 4.1 support.",
             "capabilities": [
         },
         "VP_ZINK_gl42_baseline": {
             "version": 1,
-            "api-version": "1.0.211",
+            "api-version": "1.2.0",
             "label": "Zink OpenGL 4.2 Baseline profile",
             "description": "Minimum requirements for Zink OpenGL 4.2 support.",
             "capabilities": [
         },
         "VP_ZINK_gl43_baseline": {
             "version": 1,
-            "api-version": "1.0.211",
+            "api-version": "1.3.0",
             "label": "Zink OpenGL 4.3 Baseline profile",
             "description": "Minimum requirements for Zink OpenGL 4.3 support.",
             "capabilities": [
         },
         "VP_ZINK_gl44_baseline": {
             "version": 1,
-            "api-version": "1.0.211",
+            "api-version": "1.3.0",
             "label": "Zink OpenGL 4.4 Baseline profile",
             "description": "Minimum requirements for Zink OpenGL 4.4 support.",
             "capabilities": [
         },
         "VP_ZINK_gl45_baseline": {
             "version": 1,
-            "api-version": "1.0.211",
+            "api-version": "1.3.0",
             "label": "Zink OpenGL 4.5 Baseline profile",
             "description": "Minimum requirements for Zink OpenGL 4.5 support.",
             "capabilities": [
         },
         "VP_ZINK_gl46_baseline": {
             "version": 1,
-            "api-version": "1.0.211",
+            "api-version": "1.3.0",
             "label": "Zink OpenGL 4.6 Baseline profile",
             "description": "Minimum requirements for Zink OpenGL 4.6 support.",
             "capabilities": [
         },
         "VP_ZINK_gl46_optimal": {
             "version": 1,
-            "api-version": "1.0.230",
+            "api-version": "1.3.0",
             "label": "Zink OpenGL 4.6 Optimal profile",
             "description": "Requirements for Zink OpenGL 4.6 support with best performances.",
             "capabilities": [