wsi/common: Add comment about DEFERRED_ALLOCATION_BIT_EXT.

Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
Reviewed-by: Joshua Ashton <joshua@froggi.es>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20235>
This commit is contained in:
Hans-Kristian Arntzen 2022-11-30 12:21:22 +01:00 committed by Marge Bot
parent ae920c8420
commit d79fa8a03a

View file

@ -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);