diff --git a/src/vulkan/wsi/wsi_common.c b/src/vulkan/wsi/wsi_common.c index 7dd1927146a..a355967096c 100644 --- a/src/vulkan/wsi/wsi_common.c +++ b/src/vulkan/wsi/wsi_common.c @@ -914,6 +914,10 @@ wsi_CreateSwapchainKHR(VkDevice _device, else alloc = &device->alloc; + /* Ignore DEFERRED_MEMORY_ALLOCATION_BIT. Would require deep plumbing to be able to take advantage of it. + * bool deferred_allocation = pCreateInfo->flags & VK_SWAPCHAIN_CREATE_DEFERRED_MEMORY_ALLOCATION_BIT_EXT; + */ + VkResult result = iface->create_swapchain(surface, _device, wsi_device, pCreateInfo, alloc, &swapchain);