-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve performance of vkResetDescriptorPool().
- MVKDescriptorPool::reset() don't waste time freeing descriptor sets that were never allocated. - If descriptor set could not be allocated, set availability bit (unrelated). - MVKBitArray add _lowestNeverClearedBitIndex to track the lowest bit index that has not been cleared since last reset. - MVKBitArray rename _minUnclearedSectionIndex to _clearedSectionCount for clarity. - MVKBitArray use _clearedSectionCount and _lowestNeverClearedBitIndex to optimize operation of setting or clearing all bits. - MVKBitArray::setBit() ensure we don't try to change a bit that is out of range. - MVKBitArray::resize() no-op if size doesn't actually change. - MVKQueue don't include object pointer in error log, so CTS log results are consistent across multiple CTS runs (unrelated).
- Loading branch information
1 parent
af88bb9
commit b16fef0
Showing
4 changed files
with
59 additions
and
25 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