Commit Graph

1108 Commits

Author SHA1 Message Date
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
Tim Lobner
3cb5470faa fixed copy paste error in vulkan sample 2023-07-10 14:28:30 +02:00
Juan Ramos
3d23bb07e3 Make VulkanMemoryAllocator a header only library
Dramatically simplify the CMake code for end users. The intent
is to make the CMake for this library very easy to maintain.
While also making it easier for end users to consume.

This makes the CMake code very similar to:
- KhronosGroup/Vulkan-Headers
- KhronosGroup/SPIRV-Headers

Which is good for consistency/expectations.

The VmaUsage library still highlights the expected usage of
the "stb-style" single header file in a project.

closes #346
2023-07-06 14:49:44 -06:00
Adam Sawicki
d9a2e4641b
Merge pull request #341 from abouvier/patch-1
cmake: correctly use find_dependency
2023-07-04 15:24:42 +02:00
Alexandre Bouvier
870bae0fca cmake: use find_dependency 2023-07-04 15:09:36 +02:00
Adam Sawicki
db15ce374e
Merge pull request #345 from abouvier/cmake-fix
cmake: always add vulkan headers dir
2023-07-04 13:46:16 +02:00
Adam Sawicki
1f38a49cc8
Merge pull request #347 from Rob2309/extends-marker
Add attribute to mark pNext pointers with the Vulkan struct they extend
2023-07-04 10:24:24 +02:00
Alexandre Bouvier
7f9124bad2 cmake: always add vulkan headers dir 2023-06-30 20:57:03 +02:00
Robin Quint
1d0e8ba3b3 Added small documentation 2023-06-30 17:42:12 +02:00
Robin Quint
ca5ce7df23 Added VMA_EXTENDS_VK_STRUCT 2023-06-30 17:39:36 +02:00
Adam Sawicki
0aa3989b8f Switched src/CMakeLists.txt to use C++17 by default to resolve issues with aligned_alloc
Fixes #344
2023-06-13 14:33:10 +02:00
Adam Sawicki
59734bbc63 A fix in VmaBlockMetadata_TLSF::CreateAllocationRequest
Code by @medranSolus. See #343
2023-06-12 13:30:02 +02:00
Adam Sawicki
0e89587db3 Updated Doxyfile for Doxygen 1.9.6
Regenerated documentation.
Fixes #335
2023-05-02 12:44:06 +02:00
Adam Sawicki
ff37e92786 Fixed bug in VmaDefragmentationContext_T::ComputeDefragmentation_Extensive
Fixes #328. Code by @medranSolus.
2023-04-07 10:58:24 +02:00
Adam Sawicki
7e63caa879 Fix in VmaDefragmentationContext_T::CounterStatus
See #327. Code by @medranSolus.
2023-04-06 11:25:09 +02:00
Adam Sawicki
e2f5eed2e2 Revert "Merge pull request #325 from lawadr/use-alignof" 2023-04-03 17:49:00 +02:00
Adam Sawicki
498e20dfd1
Merge pull request #326 from stha09/gcc13
IWYU: add cstdio for snprintf in vk_mem_alloc.h
2023-04-03 17:46:31 +02:00
Stephan Hartmann
383f06b9fd IWYU: add cstdio for snprintf in vk_mem_alloc.h
Discoverd with upcoming GCC 13.
2023-04-02 21:19:16 +02:00
Adam Sawicki
41baf86685
Merge pull request #325 from lawadr/use-alignof
Change __alignof to alignof
2023-03-22 17:42:59 +01:00
lawadr
d16730ce64 Change __alignof to alignof
Whereas __alignof is a non-standard compiler extension that seems to
come from Microsoft and is supported (yet undocumented) by Clang and
GCC, alignof is a standard language feature in C++11. Clang and GCC
both document __alignof__ as a compiler extension, but this isn't
supported by Microsoft.

This fixes builds on compilers that don't support __alignof.
2023-03-22 15:33:11 +00:00
Adam Sawicki
66afe099f1 Improved documentation chapter "Resource aliasing (overlap)" 2023-03-06 11:43:13 +01:00
Adam Sawicki
dd09767ff6 Fixed usage of VMA_FALLTHROUGH 2023-02-24 14:17:44 +01:00
Adam Sawicki
4c58c1fefe Defined VMA_FALLTHROUGH to fix more compiler warnings
See #321
2023-02-24 14:15:41 +01:00
Adam Sawicki
729b7c1408 Fixes for some compiler warnings
Found by Visual Studio 2019
2023-02-24 14:04:59 +01:00
Adam Sawicki
5e921fcff1 GpuMemDumpVis.py: Updated version number 2023-02-24 10:21:47 +01:00
Adam Sawicki
84d9328d84 GpuMemDumpVis.py: Fixed division by zero error when only custom pools are used 2023-02-24 10:20:03 +01:00
Adam Sawicki
c51730a857 Further fixes to importing function vkGetPhysicalDeviceMemoryProperties2 / vkGetPhysicalDeviceMemoryProperties2KHR
See #322
2023-02-21 11:31:21 +01:00
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