-
Notifications
You must be signed in to change notification settings - Fork 419
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support dynamically allocating descriptors when pool is exhausted.
- MVKDescriptorTypePool if the pool is exhausted, report a warning, allocate a new descriptor instance, and when it is freed, destroy it. - Deprecate MVKConfiguration::preallocateDescriptors and MVK_CONFIG_PREALLOCATE_DESCRIPTORS, as both preallocation and dynamic allocation of descriptors are now supported. - vkAllocateDescriptorSets(), per Vulkan spec, if any descriptor set allocation fails, free any successful allocations, and populate all descriptor set pointers with VK_NULL_HANDLE. - vkUpdateDescriptorSets() accepts null VkDescriptorSets as no-ops. - MVKDescriptorPool::getLogDescription() include count of remaining descriptors in the pool, for diagnostic logging during debugging.
- Loading branch information
1 parent
bec3ee3
commit 7f8886f
Showing
7 changed files
with
80 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters