Commit Graph

1192 Commits

Author SHA1 Message Date
Adam Sawicki
484f40312f Multiple improvements in documentation 2024-01-21 11:41:10 +01:00
Adam Sawicki
b0573ca031 Updated CHANGELOG.md 2024-01-21 00:25:46 +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
853ceacb3f README: Added GFXReconstruct to the list of known uses 2024-01-14 21:31:33 +01:00
Adam Sawicki
da13be0912 Updated Doxyfile to version 1.10.0 2024-01-14 21:29:33 +01:00
Adam Sawicki
14342eab89 Fixed documentation generation with respect to VMA_EXTENDS_VK_STRUCT macro 2024-01-14 21:27:05 +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
b4d0c0accc Bumped GpuMemDumpVis version 2024-01-14 20:59:45 +01:00
Adam Sawicki
3406719052 GpuMemDumpVis: Fixed VK_IMAGE_USAGE_STORAGE_BIT to be treated like COLOR_ATTACHMENT 2024-01-14 20:31:17 +01:00
Adam Sawicki
596db32a8a Updated date in copyright headers 2024-01-14 20:18:45 +01:00
Adam Sawicki
5e43c795da
Merge pull request #388 from eszlari/patch-1
README.md: add Blender ref
2023-11-20 10:19:25 +01:00
eszlari
278c03fc94
README.md: add Blender ref 2023-11-17 23:06:59 +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
6100c86d5b GpuMemDumpVis/README.md: Added warning about aliasing not supported
Fixes #381 Thanks @alecazam
2023-11-06 11:00:03 +01:00
Adam Sawicki
dc8a3fb0f2 Fixed GpuMemDumpVis.py to not use deprecated Pillow function textsize
See #375 Thanks @alecazam
2023-10-30 18:27:40 +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
Adam Sawicki
5a8fd79c59
Merge pull request #365 from corporateshark/master
Added LightweightVK
2023-09-07 12:05:39 +02:00
Sergey Kosarevsky
2b6fb6fc8c Added LightweightVK 2023-09-02 16:50:10 -07:00
Adam Sawicki
540544f63a
Merge pull request #364 from manas-kulkarni/master
Make C++20 features optional
2023-09-01 10:53:49 +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
6cc9fcf66b README: Updated link to the new C++ wrapper
https://github.com/YaaZ/VulkanMemoryAllocator-Hpp - thanks @YaaZ
2023-08-22 11:01:15 +02:00
Adam Sawicki
1add1df154
Merge pull request #360 from turanszkij/master-1
added Wicked Engine to software list
2023-08-15 15:46:53 +02:00
Turánszki János
f428606392
added Wicked Engine to software list 2023-08-07 07:42:36 +02:00
Adam Sawicki
6eb62e1515
Merge pull request #356 from abouvier/cmake-doc
cmake: install docs
2023-07-21 10:35:55 +02:00
Alexandre Bouvier
700db16b54 cmake: install docs 2023-07-19 07:22:03 +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
cb08556022 Merge branch 'master' of https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator 2023-07-14 13:56:59 +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
5b79a5de0e
Merge pull request #355 from juan-lunarg/juan/ignore_vscode_directory
git: ignore .vscode directory
2023-07-14 09:15:52 +02:00
Juan Ramos
09524f7072 git: ignore .vscode directory 2023-07-13 15:27:27 -06:00
Adam Sawicki
2a28bc4b39
Merge pull request #353 from juan-lunarg/juan/include_nitpick
Fixup include of "vk_mem_alloc.h"
2023-07-12 09:50:24 +02:00
Adam Sawicki
53f4c153db
Merge pull request #352 from juan-lunarg/juan/pedantic_cmake_fix
cmake: Use share instead of DATADIR for CMake config files
2023-07-12 09:48:42 +02:00
Juan Ramos
b48d20cc86 Fixup include of "vk_mem_alloc.h"
No need to include via `../include`

By linking against `GPUOpen::VulkanMemoryAllocator` the proper
include directory is added to the project.
2023-07-11 14:13:20 -06:00
Juan Ramos
c5547ffad1 cmake: Use share instead of DATADIR for CMake config files
See the following discussion for context:
https://discourse.cmake.org/t/what-should-the-destination-be-for-a-header-only-librarys-cmake-config-file/8473/2

NOTE: I've never seen this cause an issue before, but better safe than sorry.
Also I think it reads a bit better.

I recently did this for VulkanHeaders so I'd like this fixed here as
well.
2023-07-11 12:59:18 -06:00
Adam Sawicki
9b0fc3e7b0 Fixes in Cmake scripts after merging #350 (2) 2023-07-11 18:40:30 +02:00
Adam Sawicki
01fe410548 Fixes in Cmake scripts after merging #350 2023-07-11 18:00:37 +02:00
Adam Sawicki
c503590e54
Merge pull request #350 from juan-lunarg/vma/346
Make VulkanMemoryAllocator a header only library
2023-07-11 17:40:25 +02:00
Adam Sawicki
6490bb0d54
Merge pull request #351 from lobneroO/FixCopyPasteError
fixed copy paste error in vulkan sample
2023-07-10 15:01:11 +02:00