Commit graph

295 commits

Author SHA1 Message Date
Adam Sawicki
89d3a6a5ea Added macro VMA_DEBUG_DONT_EXCEED_HEAP_SIZE_WITH_ALLOCATION_SIZE
Default to 1.
Also changed VMA_DEBUG_DONT_EXCEED_MAX_MEMORY_ALLOCATION_COUNT to default to 1.
Fixes #338
2025-03-26 20:46:38 +01:00
Adam Sawicki
ff3938503b Added a minor comment based on #463 2025-03-26 19:29:17 +01:00
Adam Sawicki
f79297101f Minor fixes based on #463 2025-03-26 19:23:55 +01:00
Adam Sawicki
c788c52156 Version 3.2.1 2025-02-05 13:05:44 +01:00
Adam Sawicki
418a0324ed Fixed typo in VmaBlockMetadata_TLSF::Alloc
Based on #460
2025-01-29 15:13:12 +01:00
Adam Sawicki
7ab8483d10 Fixed assert in vmaCreateAllocator for compatibility with Vulkan 1.4
Fixes #457 - thanks @AlexRouSg
2025-01-17 13:50:40 +01:00
Adam Sawicki
790c461476 Change in ImportVulkanFunctions_Dynamic for loading function vkGetPhysicalDeviceMemoryProperties2
See #410
2025-01-16 11:13:58 +01:00
Adam Sawicki
f74c2d906f Updated copyright headers to year 2025 2025-01-08 15:13:41 +01:00
Adam Sawicki
3bab692498 Version 3,.2.0
Also rebuilt the docs.
2024-12-30 12:05:45 +01:00
Adam Sawicki
2446790ae6 Added support for Vulkan version 1.4 2024-12-11 15:13:25 +01:00
Carsten Rudolph
63480d6a88 Fix ineffective error code checks. 2024-11-29 19:40:59 +01:00
asawicki
05973d8aeb Fixes in multithreading in VmaBlockVector::Free
Also improved the documentation of vmaGetPoolStatistics.
See #451 - thanks @danginsburg
2024-10-28 17:51:10 +01:00
Ilya Doroshenko
9187ce1e07 Fix for ABI interop (without VK_KHR_external_memory_win32) 2024-08-29 12:50:54 +02:00
Adam Sawicki
de8e65796a Merge remote-tracking branch 'origin/master' 2024-08-28 20:57:25 +02:00
Adam Sawicki
00bf7a304e Improved documentation about vk_khr_external_memory_win32 2024-08-28 20:57:18 +02:00
Ilya Doroshenko
56ea45536f dumb error from me 2024-08-28 19:10:17 +02:00
Adam Sawicki
2e37247a59 Fix for IntelliSense versus SRWLOCK
Fixes #443 - thanks @zongiin
2024-08-28 13:59:30 +02:00
Adam Sawicki
945606926b Fixed a bug fixing compilation on Linux
Thanks @Mrkol !
2024-08-28 13:34:15 +02:00
Adam Sawicki
eb46f62376 Added documentation for VK_KHR_external_memory_win32
Rebuilt the documentation.
2024-08-28 13:20:19 +02:00
Adam Sawicki
ca17831d74 Fixes after merge for VK_KHR_external_memory_win32 support 2024-08-28 11:43:13 +02:00
Ilya Doroshenko
c9b2a6a465 Tests, documentation and fix 2024-08-27 11:28:11 +02:00
Ilya Doroshenko
0c8feb29ff dynamic fetching of function 2024-08-27 10:49:16 +02:00
Ilya Doroshenko
65afd9e98b documentation 2024-08-27 10:42:26 +02:00
Ilya Doroshenko
9402a6bef9 New guard, fixed ABI issues 2024-08-26 14:33:32 +02:00
Ilya Doroshenko
c41e3fb5a6 extra safety 2024-08-26 14:14:28 +02:00
Ilya Doroshenko
8c665c4c95 added vkGetMemoryWin32HandleKHR to functions 2024-08-26 13:29:42 +02:00
Ilya Doroshenko
33bd6c6032 made handle atomic 2024-08-26 12:41:13 +02:00
Ilya Doroshenko
746c651391 basic outline of the Win32 handle extension 2024-08-26 00:25:32 +02:00
Adam Sawicki
b8e57472ff Fixed language mistake in the documentation 2024-08-20 10:53:41 +02:00
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