Commit Graph

1116 Commits

Author SHA1 Message Date
Adam Sawicki
bdba911818
Merge pull request #322 from vladislavbelov/fix-uninitialized-memory-budget-function
Fixes uninitialized vkGetPhysicalDeviceMemoryProperties2KHR
2023-02-21 11:19:26 +01:00
Vladislav Belov
3e6b3847e3 Fixes uninitialized vkGetPhysicalDeviceMemoryProperties2KHR during ImportVulkanFunctions_Custom. 2023-02-19 11:31:42 +03:00
Adam Sawicki
708428c219
Merge pull request #320 from jeroenbakker-atmind/blender-fix-gnu-compilation-warning
Fix compilation warning.
2023-02-02 12:00:15 +01:00
Jeroen Bakker
c265047b29
Fix compilation warning.
GPU/Linux
2023-02-02 08:09:05 +01:00
Adam Sawicki
7c35d6299b Added missing vmaFlushAllocation in documentation
Fixes #316
2023-01-30 14:18:09 +01:00
Adam Sawicki
29d492b60c Added missing #include <cstdio>
For snprintf, for compatibility with GCC 13.
Fixes #312 - thanks @marxin !
2023-01-19 13:19:55 +01:00
Adam Sawicki
8b87b6cbf7
Merge pull request #310 from orlowd/vma_atomic-def-fix
Fix atomic type used in AtomicTransactionalIncrement
2023-01-05 12:39:15 +01:00
Denis Orlov
3e3877ac83 Fix builds on Linux CI
This fixes compilation on older Linux compilers (gcc 7.5.0, clang 7.0.0)
that do not seem to implement P0558R1 defect report, thus not allowing
the usage of value_type member typedef from std::atomic.
2023-01-05 00:05:16 +03:00
Denis Orlov
3459fd780a Fix atomic type used in AtomicTransactionalIncrement
This partially reverts changes from 4dfa169ffc
2023-01-04 21:34:16 +03:00
Adam Sawicki
413fc4f988
Merge pull request #304 from juan-lunarg/juaramos/cmake_cleanup
Minor CMake cleanup
2022-12-01 16:32:13 +01:00
Juan Ramos
0b7c427971 MSVC cleanup
MSVC compiler can be used with Ninja as well. However, the current
CMake code doesn't account for it.
2022-11-30 10:30:19 -07:00
Juan Ramos
5d969741c1 Specify CXX as the language being used for the project 2022-11-30 10:27:21 -07:00
Juan Ramos
5b61b5599d Fix endif() 2022-11-30 10:27:21 -07:00
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