radv,vulkan: add a new x11 wsi drirc workaround for DOOM Eternal
[mesa.git] / src / vulkan / wsi / wsi_common.h
index 99ccdf84cde30e09989dc5de89da7aa810d9a13d..cbf7e1be14e59474770275b4c8ceea5c9ec0c604 100644 (file)
@@ -109,6 +109,11 @@ struct wsi_device {
        * provided VkSwapchainCreateInfoKH::RminImageCount.
        */
       bool strict_imageCount;
+
+      /* Ensures to create at least the number of image specified by the
+       * driver in VkSurfaceCapabilitiesKHR::minImageCount.
+       */
+      bool ensure_minImageCount;
    } x11;
 
    /* Signals the semaphore such that any wait on the semaphore will wait on