Commit graph

1280 commits

Author SHA1 Message Date
Adam Sawicki
d3d1099845 Fixed a typo
Some checks failed
Build code / linux (Debug, clang++-15, -stdlib=libc++, sudo apt install clang-15 libc++-15-dev libc++abi-15-dev) (push) Has been cancelled
Build code / linux (Debug, g++-12, sudo apt install g++-12) (push) Has been cancelled
Build code / linux (Release, clang++-15, -stdlib=libc++, sudo apt install clang-15 libc++-15-dev libc++abi-15-dev) (push) Has been cancelled
Static code analysis / clang-tidy (push) Has been cancelled
Build code / linux (Release, g++-12, sudo apt install g++-12) (push) Has been cancelled
Build code / Windows MSVC (Debug) (push) Has been cancelled
Build code / Windows MSVC (Release) (push) Has been cancelled
2025-05-12 13:59:55 +02:00
Adam Sawicki
1d8f600fd4 Version 3.3.0 2025-05-12 13:42:18 +02:00
Johannes Schneider
0de67d61c4
Use a cache in GitHub workflow instead of downloading Vulkan SDK with every CI run (#491) 2025-05-12 12:33:29 +02:00
Adam Sawicki
f0dc115467 Merge branch 'master' of https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
Some checks failed
Build code on Linux / linux (Debug, clang++-15, -stdlib=libc++, sudo apt install clang-15 libc++-15-dev libc++abi-15-dev) (push) Has been cancelled
Build code on Linux / linux (Debug, g++-12, sudo apt install g++-12) (push) Has been cancelled
Build code on Linux / linux (Release, clang++-15, -stdlib=libc++, sudo apt install clang-15 libc++-15-dev libc++abi-15-dev) (push) Has been cancelled
Build code on Linux / linux (Release, g++-12, sudo apt install g++-12) (push) Has been cancelled
Static code analysis (clang-tidy) / clang-tidy (push) Has been cancelled
Build code / Windows MSVC (Debug) (push) Has been cancelled
Build code / Windows MSVC (Release) (push) Has been cancelled
2025-05-09 16:32:57 +02:00
Adam Sawicki
0d5359c30f Fixes in defragmentation tests for integrated GPUs
Fixes #339
2025-05-09 16:32:48 +02:00
Johannes Schneider
228110c3b5
Use a clang-tidy configuration file (#488)
* Improve GitHub workflow for clang-tidy

* Improve clang-tidy configuration

* Further improve clang-tidy ignore list of warnings

* Add cert warnings to clang-tidy
2025-05-09 13:41:24 +02:00
Adam Sawicki
fbd9e6eae6 Code improvements based on static analysis
See #488
2025-05-09 12:55:22 +02:00
Adam Sawicki
089e0eb4c4 Updated CHANGELOG.md for v3.3.0
Some checks are pending
Build code on Linux / linux (Debug, clang++-15, -stdlib=libc++, sudo apt install clang-15 libc++-15-dev libc++abi-15-dev) (push) Waiting to run
Build code on Linux / linux (Debug, g++-12, sudo apt install g++-12) (push) Waiting to run
Build code on Linux / linux (Release, clang++-15, -stdlib=libc++, sudo apt install clang-15 libc++-15-dev libc++abi-15-dev) (push) Waiting to run
Build code on Linux / linux (Release, g++-12, sudo apt install g++-12) (push) Waiting to run
Static code analysis (clang-tidy) / clang-tidy (push) Waiting to run
Build code / Windows MSVC (Debug) (push) Waiting to run
Build code / Windows MSVC (Release) (push) Waiting to run
2025-05-08 17:40:57 +02:00
Adam Sawicki
66db1cdb9f Updated CHANGELOG.md
Some checks failed
Static code analysis (clang-tidy) / clang-tidy (push) Has been cancelled
Build code on Linux / linux (Debug, clang++-15, -stdlib=libc++, sudo apt install clang-15 libc++-15-dev libc++abi-15-dev) (push) Has been cancelled
Build code on Linux / linux (Debug, g++-12, sudo apt install g++-12) (push) Has been cancelled
Build code on Linux / linux (Release, clang++-15, -stdlib=libc++, sudo apt install clang-15 libc++-15-dev libc++abi-15-dev) (push) Has been cancelled
Build code on Linux / linux (Release, g++-12, sudo apt install g++-12) (push) Has been cancelled
Build code / Windows MSVC (Debug) (push) Has been cancelled
Build code / Windows MSVC (Release) (push) Has been cancelled
2025-05-06 16:40:56 +02:00
Adam Sawicki
b5409a0b41 Fixed Cmake script for cases when VMA_STATIC_VULKAN_FUNCTIONS is not set
We need to statically link with Vulkan anyway, unless we use volk. VMA doesn't need it, but sample app does. Without this change, we had linker errors.
2025-05-06 15:32:51 +02:00
Adam Sawicki
2fd73c38a1 Added assert in vmaCreateImage about disjoint images not supported
See #372
2025-05-06 15:13:48 +02:00
Adam Sawicki
539c0a8d8e Added documentation chapter: Frequenty asked questions
Some checks failed
Build code on Linux / linux (Debug, clang++-15, -stdlib=libc++, sudo apt install clang-15 libc++-15-dev libc++abi-15-dev) (push) Has been cancelled
Build code on Linux / linux (Debug, g++-12, sudo apt install g++-12) (push) Has been cancelled
Build code on Linux / linux (Release, clang++-15, -stdlib=libc++, sudo apt install clang-15 libc++-15-dev libc++abi-15-dev) (push) Has been cancelled
Build code on Linux / linux (Release, g++-12, sudo apt install g++-12) (push) Has been cancelled
Static code analysis (clang-tidy) / clang-tidy (push) Has been cancelled
Build code / Windows MSVC (Debug) (push) Has been cancelled
Build code / Windows MSVC (Release) (push) Has been cancelled
2025-04-14 18:09:25 +02:00
Adam Sawicki
f378e7b3f1 Rebuilt the documentation (2) 2025-04-11 17:34:24 +02:00
Adam Sawicki
12b48eb01e Merge branch 'master' of https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator 2025-04-11 17:33:33 +02:00
Adam Sawicki
1ea5f2fd8d Rebuilt the documentation 2025-04-11 17:33:26 +02:00
Adam Sawicki
b5f203256a
Added function vmaImportVulkanFunctionsFromVolk (#486)
Also added Cmake option VMA_VOLK_HEADER_PATH.
Also updated the documentation.
2025-04-11 17:29:35 +02:00
Johannes Schneider
1dea379ae3
Specify C++14 as standard in CMake, not C++17 (#489) 2025-04-11 13:15:13 +02:00
Johannes Schneider
8a739e4fc1
Add more warnings to ignore list of clang-tidy for static code analysis (#485) 2025-04-11 11:50:19 +02:00
Adam Sawicki
fc2cea529d Fixes based on warnings from clang-tidy (2)
Thanks to #482
2025-04-10 15:48:36 +02:00
Adam Sawicki
f645c9b73e Fixes based on warnings from clang-tidy
Thanks to #482
2025-04-10 13:14:49 +02:00
Johannes Schneider
bcd776c5e6
Add workflow for static code analysis using clang-tidy (#482) 2025-04-10 10:53:18 +02:00
Johannes Schneider
09fa3be7a0
Small maintenance of GitHub workflows (#483) 2025-04-10 09:30:50 +02:00
Adam Sawicki
d8d4f86cc2 Fix in TestDefragmentationAlgorithms for Nvidia cards
Fixes #422
2025-04-09 16:23:33 +02:00
Adam Sawicki
a77a76c0bc Minor fix in TestDefragmentationAlgorithms 2025-04-09 16:02:50 +02:00
Adam Sawicki
7720de05f4 Removed unused parameter
After #481
2025-04-09 15:42:58 +02:00
Johannes Schneider
989a1764ad
Enable extra warnings for clang and gcc in CMake (#481) 2025-04-09 15:19:16 +02:00
Adam Sawicki
e298b6e3af
Revert "Enable all gcc and clang warnings for testing the CI (#478)" (#479)
This reverts commit a16385ba1b.
2025-04-06 16:24:14 +02:00
Johannes Schneider
a16385ba1b
Enable all gcc and clang warnings for testing the CI (#478)
* Enable all gcc and clang warnings for testing the CI

* Enable all gcc and clang warnings through GitHub workflow instead of CMake
2025-04-06 16:21:47 +02:00
Adam Sawicki
0183545f02
Added Linux CI build 2025-04-03 17:32:37 +02:00
Adam Sawicki
d47cf4367e Removed build status from README 2025-04-02 16:23:01 +02:00
Adam Sawicki
a0d9a61930 Removed .travis.yml 2025-04-02 16:22:31 +02:00
Adam Sawicki
be826d12e1
Merge pull request #474 from IAmNotHanni/master
Add new tests for advanced data uploading
2025-04-01 17:37:05 +02:00
Johannes Schneider
2fdbc642c9
Add changes requested in code review 2025-04-01 17:09:10 +02:00
Johannes Schneider
1c0c2216b3
Add new tests for advanced data uploading 2025-03-29 22:40:05 +01:00
Adam Sawicki
811773fd12
Merge pull request #473 from IAmNotHanni/master
Remove unrequired Windows clang build in GitHub
2025-03-28 13:29:41 +01:00
Johannes Schneider
9d17673c9c
Remove unrequired Windows clang build in GitHub 2025-03-28 13:23:06 +01:00
Adam Sawicki
9d7a52b4eb
Merge pull request #469 from IAmNotHanni/master
Add GitHub workflow for continuous integration for Windows
2025-03-28 13:22:42 +01:00
Johannes Schneider
f6a6697164
Remove LLVM install instructions 2025-03-28 13:19:25 +01:00
Johannes Schneider
baf2663a43
Improve GitHub workflow for continuous integration 2025-03-28 00:33:48 +01:00
Johannes Schneider
fe48cbe8f3
Improve GitHub workflow for continuous integration 2025-03-28 00:33:01 +01:00
Adam Sawicki
89d3a6a5ea Added macro VMA_DEBUG_DONT_EXCEED_HEAP_SIZE_WITH_ALLOCATION_SIZE
Default to 1.
Also changed VMA_DEBUG_DONT_EXCEED_MAX_MEMORY_ALLOCATION_COUNT to default to 1.
Fixes #338
2025-03-26 20:46:38 +01:00
Adam Sawicki
c578a4f4f1 Fixes in VulkanSample.cpp for Vulkan version 1.4 2025-03-26 20:27:59 +01:00
Adam Sawicki
ff3938503b Added a minor comment based on #463 2025-03-26 19:29:17 +01:00
Adam Sawicki
f79297101f Minor fixes based on #463 2025-03-26 19:23:55 +01:00
Johannes Schneider
a586429134
Add GitHub workflow for continuous integration for Windows 2025-03-17 22:18:27 +01:00
Adam Sawicki
29b35ea423
Merge pull request #468 from IAmNotHanni/master
Small maintenance
2025-03-17 10:00:40 +01:00
Johannes Schneider
dccce717c8
Remove unused code related to incorrect validation layer warning 2025-03-14 20:00:57 +01:00
Johannes Schneider
c90621c566
Fix small typo 2025-03-14 19:58:11 +01:00
Adam Sawicki
c83fdd23b5
Merge pull request #464 from IAmNotHanni/master
Include vulkan_win32.h only for Windows
2025-03-12 11:03:18 +01:00
Johannes Schneider
a2816cf935
Include vulkan_win32.h only for Windows 2025-03-12 02:32:12 +01:00