X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fvulkan%2Fwsi%2Fwsi_common.h;h=064b16a5e7ab14f686e7dd0d12996519ed9a7d28;hb=d6db858771ab72f607e43cd2cacf73b2f62fad30;hp=b00fc3c18574fa404850cc0c7d1b4ed27285e835;hpb=a72cdd00abd5f3c18df01acc60bf3b385facfdb6;p=mesa.git diff --git a/src/vulkan/wsi/wsi_common.h b/src/vulkan/wsi/wsi_common.h index b00fc3c1857..064b16a5e7a 100644 --- a/src/vulkan/wsi/wsi_common.h +++ b/src/vulkan/wsi/wsi_common.h @@ -113,6 +113,11 @@ struct wsi_device { /* Override the minimum number of images on the swapchain. * 0 = no override */ uint32_t override_minImageCount; + + /* Forces strict number of image on the swapchain using application + * provided VkSwapchainCreateInfoKH::RminImageCount. + */ + bool strict_imageCount; } x11; uint64_t (*image_get_modifier)(VkImage image);