Commit Graph

1137 Commits

Author SHA1 Message Date
Russell Greene
198127a0ee Fix build for iOS 2022-10-27 14:46:35 -05:00
Adam Sawicki
c351692490
Merge pull request #288 from qbojj/patch-1
fix typo in specification of VmaAlignDown
2022-09-20 13:31:46 +02:00
qbojj
19dbbe92c0
fix typo in specification of VmaAlignDown 2022-09-20 13:29:31 +02:00
Adam Sawicki
d2767622a6
Merge pull request #287 from paroj/master
allow building against vulkan 1.2.131 headers
2022-09-13 13:34:29 +02:00
Pavel Rojtberg
a4c1afb3c4 allow building against vulkan 1.2 headers
e.g. on ubuntu 20.04
2022-09-12 18:16:00 +02:00
Adam Sawicki
e4057da74f
Merge pull request #286 from laurelkeys/patch-1
Fix minor typos in documentation
2022-09-08 10:02:05 +02:00
Tiago Chaves
157a8173d1
Fix minor typos in documentation 2022-09-07 17:37:26 -03:00
Adam Sawicki
0aa8a44acf Reordered macro definitions in the file to fix compilation on Linux 2022-09-07 16:27:35 +02:00
Adam Sawicki
db0f9b481a Changed implementation of vma_aligned_alloc to only use aligned_alloc when C++17 is enabled, where the function is defined.
See #285

May break on some platforms! If it affects you, please enable C++17 or later in your compiler or provide custom implementation of macro VMA_SYSTEM_ALIGNED_MALLOC (and VMA_SYSTEM_ALIGNED_FREE if needed) using the API of your system.
2022-09-07 16:21:34 +02:00
Adam Sawicki
d6b705bf75 Added function vmaCreateAliasingBuffer2, vmaCreateAliasingImage2 with new parameter allocationLocalOffset
Thanks @sagaceilo for the idea!
2022-09-04 13:26:39 +02:00
Adam Sawicki
2a7110f078 A fix for vcpkg in REAEDME.md 2022-08-25 16:52:34 +02:00
Adam Sawicki
6cb61bb688 Fixes in README.md after adding information about vcpkg 2022-08-25 16:48:08 +02:00
Adam Sawicki
015917cc71
Merge pull request #282 from JonLiu1993/vcpkg-installition
Add vcpkg installation instructions
2022-08-25 16:45:47 +02:00
Jonliu1993
3391ab2a02 Add vcpkg installation instructions 2022-08-25 16:57:10 +08:00
Adam Sawicki
6599c36880
Merge pull request #279 from rumblehhh/patch-1
Fix various typos
2022-08-10 15:33:37 +02:00
rumblehhh
177862376c
Fix various typos 2022-08-05 09:20:11 +01:00
Adam Sawicki
f6d6e278a6
Merge pull request #277 from Max-Rodriguez/grammar-patch
docs: Fixed typo under 'Selecting Vulkan version' doc section
2022-07-27 10:09:09 +02:00
Max Rodriguez
b367bf3b87 docs: Fixed a typo under 'Selecting Vulkan version' section 2022-07-26 11:44:54 -07:00
Max Rodriguez
919c40ee39 Revert "quick_start.html: Small grammar fix under 'Selecting Vulkan version' section"
This reverts commit 1e0ab38aa8.
2022-07-26 11:43:21 -07:00
Max Rodriguez
1e0ab38aa8 quick_start.html: Small grammar fix under 'Selecting Vulkan version' section 2022-07-25 15:04:39 -07:00
Adam Sawicki
51c8b56011 Merge branch 'master' of https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator 2022-06-22 12:48:42 +02:00
Adam Sawicki
1022be64cf Added missing mutex when unmapping memory.
Hopefully fixes #267. Code by @medranSolus
2022-06-22 12:48:27 +02:00
Adam Sawicki
eac5fec522
Merge pull request #275 from Attractadore/patch-1
Fix windows.h not found when cross compiling on Linux
2022-06-20 09:55:07 +02:00
Attractadore
f000f1b369
Fix windows.h not found when cross compiling on Linux
The header provided by mingw-w64 on Linux is called windows.h.
2022-06-19 20:54:03 +03:00
Adam Sawicki
46bae938a8
Merge pull request #274 from pnarvor/cmake-targets
[cmake] Updated installation process to use modern CMake targets
2022-06-15 16:42:48 +02:00
Pierre Narvor
2bb598acd0 [cmake] Updated installation process to use modern CMake targets 2022-06-14 17:40:18 +02:00
Adam Sawicki
b51fea7a53 Improved documentation regarding selecting Vulkan version
See #256
Updated to Doxygen 1.9.4.
2022-06-14 16:43:27 +02:00
Adam Sawicki
0ad6dcd5f4
Merge pull request #273 from akien-mga/trailing-whitespace
Strip trailing whitespace in code files
2022-06-14 13:48:13 +02:00
Rémi Verschelde
9eab57ea44 Strip trailing whitespace in code files 2022-06-14 13:41:15 +02:00
Adam Sawicki
93ec49e094
Merge pull request #272 from akien-mga/dos2unix
Convert VMA line endings to Unix style (LF)
2022-06-14 13:37:21 +02:00
Rémi Verschelde
e20c24c4c8 Convert VMA line endings to Unix style (LF)
This makes it consistent with other files in the repository,
and is typically the norm for cross-platform Git repos.
2022-06-14 12:00:24 +02:00
Adam Sawicki
cdbd6f4e91
Merge pull request #271 from Monika0000/master
fix re-defines
2022-06-13 20:17:28 +02:00
Monika0000
bbc3d15390 fix re-defines 2022-06-14 04:13:30 +10:00
Adam Sawicki
cfdc0f8775
Merge pull request #270 from IwakuraRein/master
fix typos
2022-06-10 10:21:17 +02:00
Alex
825d3d850a fix typos 2022-06-10 09:36:31 +08:00
Adam Sawicki
a6bfc23725 Releasing version 3.0.1
Some fixes in tests for Nvidia cards.
2022-05-26 11:51:12 +02:00
Adam Sawicki
b77238c92c Refactored VmaBlockVector::SortByFreeSize to fix compilation on XCode 13.4
Fixes #269. Thanks @richard-lunarg !
2022-05-26 11:11:32 +02:00
Adam Sawicki
0bbde1750e Removed unused functions VmaQuickSort, VmaQuickSortPartition
Closes #262. Thanks @laurelkeys !
2022-05-11 12:37:14 +02:00
Adam Sawicki
71b4c18344
Merge pull request #263 from kennyalive/fix_typo
Fix minor typo
2022-05-11 11:28:49 +02:00
Artem Kharytoniuk
fe38c8f13e
Fix minor typo 2022-05-11 11:23:16 +02:00
Adam Sawicki
5ab8c1752a Fix assert when VMA_DEBUG_INITIALIZE_ALLOCATIONS is used with new memory usage flags
Only mappable allocations are filled with bit pattern.

See #260
2022-04-27 16:58:56 +02:00
Adam Sawicki
7de5cc00de
Merge pull request #259 from brianosman/patch-1
Fix return type of GetAllocationNextPtr
2022-04-19 17:03:10 +02:00
Brian Osman
8a7f80743a
Fix return type of GetAllocationNextPtr
Returning `void* const` doesn't mean anything (produces a warning with -Wignored-qualifiers). Based on usage, it looks like the returned pointer is expected to point at const data, so I've fixed the declaration to reflect that.
2022-04-19 10:55:48 -04:00
Adam Sawicki
a88bc520a0
Merge pull request #257 from laurelkeys/patch-1
Remove unused VmaAlgorithmToStr function
2022-04-11 11:34:08 +02:00
Tiago Chaves
ebefe58623
Remove unused VmaAlgorithmToStr function 2022-04-09 21:23:17 -03:00
Adam Sawicki
df7648061c Fixes in GpuMemDumpVis.py regarding image height calculation
Added GpuMemDump.schema.json.
Minor improvement in SaveAllocatorStatsToFile.
2022-04-05 13:32:30 +02:00
Adam Sawicki
0c7ad4e859 Optimized VmaCountBitsSets to use std::popcount when C++20 is enabled
Closes #251
2022-03-29 18:07:09 +02:00
Adam Sawicki
2d2a9e3df3 Fixed bug with assert failure when JSON dump is created while a custom pool exist with specified string name 2022-03-29 17:24:48 +02:00
Adam Sawicki
5b598e0a35 Clarified documentation about required C++14 version
Fixes #252
2022-03-28 16:36:24 +02:00
Adam Sawicki
3ed40d8321 Updated version number 2022-03-28 13:22:36 +02:00