zink: enable required instance ext
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 26 Apr 2021 14:33:08 +0000 (16:33 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 26 Apr 2021 16:56:40 +0000 (16:56 +0000)
VK_KHR_swapchain requires VK_KHR_surface in the instance to be enabled.

This fixes a validation-error.

Fixes: bbeee415eeb ("zink: Learn about VK_KHR_swapchain")
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10461>

src/gallium/drivers/zink/zink_instance.py

index 2146510..371c153 100644 (file)
@@ -47,6 +47,7 @@ EXTENSIONS = [
                    "GetPhysicalDeviceFormatProperties2", "GetPhysicalDeviceImageFormatProperties2"]),
     Extension("VK_MVK_moltenvk",
         nonstandard=True),
+    Extension("VK_KHR_surface"),
 ]
 
 # constructor: Layer(name, conditions=[])