Howard Su
5076ad11df
Remove unused static function swap
2024-08-10 01:56:45 +08:00
Adam Sawicki
871913da6a
Updated documentation - mentioned VMA_LEAK_LOG_FORMAT
...
See #437
2024-07-18 11:00:01 +02:00
Adam Sawicki
10ec7bd86a
Merge pull request #428 from IAmNotHanni/master
...
Improve sample code for advanced data uploading in docs
2024-07-09 13:06:45 +02:00
Adam Sawicki
912319ef8c
Removed invalid VMA_FALLTHROUGH from VmaAllocator_T::Map
...
Fixes #429 - thanks @alecazam
2024-07-09 12:43:36 +02:00
Johannes Schneider
a2e25c6f14
Improve sample code for advanced data uploading in docs
2024-07-08 23:42:46 +02:00
manaskulkarni
0dc661eb73
Make Vulkan include optional
2024-05-31 17:05:44 +05:30
Adam Sawicki
009ecd192c
Version 3.1.0
...
Rebuilt the documentation and sample executable.
2024-05-27 14:22:04 +02:00
Luiz G. Mugnaini A.
187206f95d
Fix documentation typos
...
List of typos:
- 'license' -> 'license'
- 'ofsets' -> 'offsets'
- 'instrinsics' -> 'intrinsics'
- 'becase' -> 'because'
- 'availeble' -> 'available'
- 'mesure' -> 'measure'
- 'parametrs' -> 'parameters'
Signed-off-by: Luiz G. Mugnaini A. <luizmugnaini@gmail.com>
2024-05-01 10:42:43 -03:00
Adam Sawicki
5677097baf
More fixes for undeclared identifiers with old Vulkan SDK
...
Fixes #413 - thanks @HermanWolf
2024-04-04 10:29:47 +02:00
Adam Sawicki
60fe740c77
Fix for undeclared identifier VK_STRUCTURE_TYPE_DEVICE_IMAGE_MEMORY_REQUIREMENTS
...
Fixes #413 - thanks @HermanWolf
2024-04-03 18:52:23 +02:00
Adam Sawicki
19b940e864
Added support for VK_KHR_maintenance5 extension
...
Added VMA_ALLOCATOR_CREATE_KHR_MAINTENANCE5_BIT flag.
See #411 - thanks @qbojj
2024-02-27 13:57:18 +01:00
Adam Sawicki
b6fb84ede2
Fixes in importing of vkGetPhysicalDeviceMemoryProperties2[KHR] function
...
Related to #410
2024-02-26 15:55:44 +01:00
Adam Sawicki
f1ab507d00
Fix in VmaBlockMetadata_Linear::CreateAllocationRequest for too large allocations
...
Fixes #396 - thanks @dm-tesla
2024-02-23 17:28:22 +01:00
Adam Sawicki
e833b3ec95
Fixed VmaDeviceMemoryBlock::Map for mapping hysteresis to work correctly when the mapping fails
...
Also added test for it.
Fixes #407 - thanks @matusfedorko
2024-02-22 13:44:49 +01:00
Frank Richter
fbf93a4270
Attempt to document leak detection aids
2024-02-13 11:41:51 +01:00
Adam Sawicki
38627f4e37
Added VMA_LEN_IF_NOT_NULL decoration to the new functions vmaCopyMemoryToAllocation, vmaCopyAllocationToMemory
...
Fixes #406 - thanks @qbojj
2024-02-06 13:13:24 +01:00
Adam Sawicki
a13c193d1e
Merge branch 'master' of https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
2024-01-30 14:39:52 +01:00
Adam Sawicki
5db4414d39
Fixed bug in VmaBlockMetadata_Linear::PrintDetailedMap
...
Fixes #405 - thanks @marrodriguez-EA
2024-01-30 14:39:38 +01:00
serboupal
6887c7700f
Remove semicolon outside function
2024-01-26 13:09:47 +01:00
Adam Sawicki
7924e27f81
Fixes in calls to VMA_DEBUG_LOG_FORMAT, using PRIu32 for compatibility
...
See #400 , thanks @dneto0 and @alecazam
2024-01-24 14:13:44 +01:00
David Neto
927c0a8573
Use format specifier PRIu64 only with uint64_t types
...
Fixed : #399
2024-01-23 21:04:34 +00:00
Adam Sawicki
ddbd93dcd8
Minor fix in the documentation
2024-01-21 13:37:28 +01:00
Adam Sawicki
b5456bb4e5
Added functions vmaCopyMemoryToAllocation, vmaCopyAllocationToMemory
...
Few other minor fixes and improvements.
Regenerated documentation.
2024-01-21 13:30:23 +01:00
Adam Sawicki
484f40312f
Multiple improvements in documentation
2024-01-21 11:41:10 +01:00
Adam Sawicki
498486b1e5
Added usage of std::countr_zero, std::countl_zero from C++20 when available
2024-01-20 23:49:24 +01:00
Adam Sawicki
037a9386cb
Removed commented code
2024-01-20 23:27:50 +01:00
Adam Sawicki
68d510599e
Fixed documentation of VmaAllocatorCreateInfo::vulkanApiVersion
...
Fixes #384 - thanks @qbojj
2024-01-20 23:01:16 +01:00
Adam Sawicki
a0a04a22e9
Added support for VK_KHR_maintenance4 extension
...
Added VMA_ALLOCATOR_CREATE_KHR_MAINTENANCE4_BIT..
See #397 .
2024-01-20 22:48:20 +01:00
Adam Sawicki
14dfcd8fe3
Added documentation chapter "When not to use custom pools"
2024-01-14 22:20:03 +01:00
Adam Sawicki
0479c369d3
Minor improvements in documentation
2024-01-14 21:41:15 +01:00
Adam Sawicki
c23192cfc1
Added macro VMA_LEAK_LOG_FORMAT
...
Fixes #379 - thanks @alecazam
2024-01-14 21:22:25 +01:00
Adam Sawicki
51bac8e0ea
Fixed VK_ERROR_UNKNOWN -> VK_ERROR_UNKNOWN_COPY
...
See #385 - thanks @alecazam
2024-01-14 21:14:35 +01:00
Adam Sawicki
145917616e
Replaced "%llu" with "%" PRIu64
...
To improve compatibility with some compilers. See #385 , #379 . Thanks @alecazam
2024-01-14 21:13:21 +01:00
Adam Sawicki
596db32a8a
Updated date in copyright headers
2024-01-14 20:18:45 +01:00
Adam Sawicki
a53702cbe2
More fixes based on #385
...
Thanks @alecazam
2023-11-13 13:59:23 +01:00
Adam Sawicki
b721922bce
Added VMA_ASSERT_LEAK macro
...
See #385 Thanks @alecazam !
2023-11-08 18:14:46 +01:00
Adam Sawicki
b2e7801ff3
Added function vmaGetAllocationInfo2, structure VmaAllocationInfo2
...
See #383 , #340 Thanks @debaetsd !
Rebuilt the docs.
2023-11-08 18:01:19 +01:00
Adam Sawicki
7bd97fa410
Fixed memory leak in VmaPool_T::~VmaPool_T
...
Fixes #378 Thanks @alecazam
2023-10-30 18:17:52 +01:00
Adam Sawicki
138ce7bda0
Fix in VmaJsonWriter::ContinueString
...
Fixes #376 Thanks @alecazam
2023-10-30 18:14:08 +01:00
Adam Sawicki
2f382df218
Fixed signed/unsigned mismatch in FindMemoryPreferences
...
For compatibility with UBSan. Fixes #368 - thanks @markridgewell
2023-09-11 17:58:15 +02:00
manaskulkarni
66bb67cf18
Make C++20 features optional
...
- Some compilers with C++20 dont have std::popcount
- Support to toggle C++20 features from user side using new VMA_CPP20 macro. If the macro is not defined, it will be set using default logic - #if __cplusplus >= 202002L || _MSVC_LANG >= 202002L
2023-09-01 14:10:40 +05:30
Adam Sawicki
e88fff957b
Fixed main memory type selection algorithm for Raspberry Pi
...
In function FindMemoryPreferences, not requiring HOST_CACHED memory, as some platforms may not have it. See #362 - thanks @cos-public
2023-08-22 13:13:09 +02:00
Adam Sawicki
33067f6b4f
Refactoring in FindMemoryPreferences
...
Without changing the logic. Fixes #354 . Thanks @marc0246 !
2023-07-14 14:18:53 +02:00
Adam Sawicki
6ce692a385
Added callback VmaDefragmentationInfo::pfnBreakCallback that allows to break long execution of vmaBeginDefragmentation
...
Added also PFN_vmaCheckDefragmentationBreakFunction, VmaDefragmentationInfo::pBreakCallbackUserData.
2023-07-14 13:56:46 +02:00
Adam Sawicki
01fe410548
Fixes in Cmake scripts after merging #350
2023-07-11 18:00:37 +02:00
Robin Quint
1d0e8ba3b3
Added small documentation
2023-06-30 17:42:12 +02:00
Robin Quint
ca5ce7df23
Added VMA_EXTENDS_VK_STRUCT
2023-06-30 17:39:36 +02:00
Adam Sawicki
59734bbc63
A fix in VmaBlockMetadata_TLSF::CreateAllocationRequest
...
Code by @medranSolus. See #343
2023-06-12 13:30:02 +02:00
Adam Sawicki
ff37e92786
Fixed bug in VmaDefragmentationContext_T::ComputeDefragmentation_Extensive
...
Fixes #328 . Code by @medranSolus.
2023-04-07 10:58:24 +02:00
Adam Sawicki
7e63caa879
Fix in VmaDefragmentationContext_T::CounterStatus
...
See #327 . Code by @medranSolus.
2023-04-06 11:25:09 +02:00