mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 04:30:10 +01:00
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:
parent
ae920c8420
commit
d79fa8a03a
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue