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:
committed by
Marge Bot
parent
ae920c8420
commit
d79fa8a03a
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user