Skip to content

Commit 2951ec1

Browse files
Prepared CHANGELOG.md for version 2.0.0.
Minor fix in VmaReplay.
1 parent 71db590 commit 2951ec1

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,32 @@
1+
# 2.2.0 (TODO)
2+
3+
Major release after many months of development in "master" branch and feature branches. Notable new features: defragmentation of GPU memory, buddy algorithm, convenience functions for sparse binding.
4+
5+
Major changes:
6+
7+
- New, more powerful defragmentation:
8+
- Added structure `VmaDefragmentationInfo2`, functions `vmaDefragmentationBegin`, `vmaDefragmentationEnd`.
9+
- Added support for defragmentation of GPU memory.
10+
- Defragmentation of CPU memory now uses `memmove`, so it can move data to overlapping regions.
11+
- Defragmentation of CPU memory is not available for memory types that are `HOST_VISIBLE` but not `HOST_COHERENT`.
12+
- Major internal changes in defragmentation algorithm.
13+
- VmaReplay: added parameters: `--DefragmentAfterLine`, `--DefragmentationFlags`.
14+
- Old interface (structure `VmaDefragmentationInfo`, function `vmaDefragment`) is now deprecated.
15+
- Added buddy algorithm, available for custom pools - flag `VMA_POOL_CREATE_BUDDY_ALGORITHM_BIT`.
16+
- Added convenience functions for multiple allocations and deallocations at once, intended for sparse binding resources - functions `vmaAllocateMemoryPages`, `vmaFreeMemoryPages`.
17+
- Added function that tries to resize existing allocation in place: `vmaResizeAllocation`.
18+
- Added flags for allocation strategy: `VMA_ALLOCATION_CREATE_STRATEGY_BEST_FIT_BIT`, `VMA_ALLOCATION_CREATE_STRATEGY_WORST_FIT_BIT`, `VMA_ALLOCATION_CREATE_STRATEGY_FIRST_FIT_BIT`, and their aliases: `VMA_ALLOCATION_CREATE_STRATEGY_MIN_MEMORY_BIT`, `VMA_ALLOCATION_CREATE_STRATEGY_MIN_TIME_BIT`, `VMA_ALLOCATION_CREATE_STRATEGY_MIN_FRAGMENTATION_BIT`.
19+
20+
Minor changes:
21+
22+
- Changed behavior of allocation functions to return `VK_ERROR_VALIDATION_FAILED_EXT` when trying to allocate memory of size 0, create buffer with size 0, or image with one of the dimensions 0.
23+
- VmaReplay: Added support for Windows end of lines.
24+
- Updated recording CSV file format version to 1.5, to support new functions.
25+
- Internal optimization: using read-write mutex on some platforms.
26+
- Many additions and fixes in documentation.
27+
- Many compatibility fixes for various compilers.
28+
- Other internal bugfixes, optimizations, refactoring, added more internal validation.
29+
130
# 2.1.0 (2018-09-10)
231

332
Minor bugfixes.

src/VmaReplay/VmaReplay.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3250,7 +3250,7 @@ static void PrintCommandLineSyntax()
32503250
" --DumpDetailedStatsAfterLine <Line> - Like command above, but includes detailed map.\n"
32513251
" --DefragmentAfterLine <Line> - Defragment memory after specified source file line and print statistics.\n"
32523252
" It also prints detailed statistics to files VmaReplay_Line####_Defragment*.json\n"
3253-
" --DefragmentatationFlags <Flags> - Flags to be applied when using DefragmentAfterLine.\n"
3253+
" --DefragmentationFlags <Flags> - Flags to be applied when using DefragmentAfterLine.\n"
32543254
" E.g. 1 for FAST algorithm, 2 for OPTIMAL algorithm.\n"
32553255
" --Lines <Ranges> - Replay only limited set of lines from file\n"
32563256
" Ranges is comma-separated list of ranges, e.g. \"-10,15,18-25,31-\".\n"

0 commit comments

Comments
 (0)