Commit Graph

1153 Commits

Author SHA1 Message Date
Adam Sawicki
ad893909d4 Fixes in CMakeLists.txt regarding Doxygen usage
See #303
2022-11-30 11:26:56 +01:00
Adam Sawicki
fd7b20101f Further fixes in CMakeLists.txt
See #303
2022-11-29 17:47:10 +01:00
Adam Sawicki
2606c0039f Fixed potential integer overflow in VmaAllocator_T::AllocateMemoryOfType when maxMemoryAllocationCount Vulkan limit has high value
Fixes #300
2022-11-29 16:53:36 +01:00
Adam Sawicki
14469a5eea Refactored some switch statements
Fixes #299
2022-11-29 16:42:14 +01:00
Adam Sawicki
85a2580529 Removed unused local variables unusedRangeSize
Fixes #298
2022-11-29 16:23:17 +01:00
Adam Sawicki
6d2fe13627 Split macros into separate VMA_DEBUG_LOG and VMA_DEBUG_LOG_FORMAT
To fix compiler errors with -Wpedantic -Werror - see #297
2022-11-29 16:16:12 +01:00
Adam Sawicki
3703ef88ff Fixing CMakeLists.txt for older Cmake
See #303
2022-11-29 16:06:36 +01:00
Adam Sawicki
b367b36ffc Added usage of PROJECT_IS_TOP_LEVEL around find_package in CMakeLists.txt
See #303
2022-11-29 15:41:52 +01:00
Adam Sawicki
73d13a83ed
Merge pull request #301 from manas-kulkarni/master
BindBufferMemory, BindImageMemory - Return VK_ERROR_UNKNOWN for unkno…
2022-11-23 09:53:47 +01:00
manaskulkarni
2ea07806af BindBufferMemory, BindImageMemory - Return VK_ERROR_UNKNOWN for unknown allocation type 2022-11-23 14:02:24 +05:30
Adam Sawicki
936bc4b57e Internal refactoring for compatibility with 32-bit
Removed VmaJsonWriter::WriteSize, ContinueString_Size.

See #293
2022-11-09 16:42:33 +01:00
Adam Sawicki
800acede8d Merge branch 'master' of https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator 2022-11-04 17:02:51 +01:00
Adam Sawicki
cb5bf6452c Minor fix in documentation
Regenerated the documentation using Doxygen 1.9.5.
2022-11-04 17:02:24 +01:00
Adam Sawicki
04b693d9b6
Merge pull request #292 from raybrowser/extra-semi-fix
Remove extra semicolons, fixes build with -Wextra-semi
2022-11-03 15:42:45 +01:00
Riku Palomäki
f741604e04 Remove extra semicolons, fixes build with -Wextra-semi 2022-11-01 10:08:23 +02:00
Adam Sawicki
8296345455
Merge pull request #291 from russelltg/ios_compile_fixes
Fix build for iOS
2022-10-28 10:07:06 +02:00
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