Adam Sawicki
87cea36670
Add "Common mistakes" documentation chapter
2019-07-02 12:24:48 +02:00
Adam Sawicki
938b19a8c1
Minor addition in documentation, "Configuration” section
...
See #67
2019-07-01 12:12:51 +02:00
Adam Sawicki
c238be5070
Additional fix as suggested in #69
2019-06-28 17:31:21 +02:00
Adam Sawicki
77fa9dc840
Merge pull request #69 from past-due/Wtautological_compare
...
Guard VmaWriteMagicValue / VmaValidateMagicValue on VMA_DEBUG_MARGIN > 0
2019-06-28 17:29:50 +02:00
Adam Sawicki
f8d10218ff
Fix structure VmaBlockDefragmentationContext
...
Fixes #70
2019-06-28 17:12:36 +02:00
Adam Sawicki
9b1e702e0b
Remove unused variable
...
Fixes #67
2019-06-28 17:01:50 +02:00
Adam Sawicki
294a0ad239
Remove unused variable VmaBlockVectorDefragmentationContext::m_AlgorithmFlags
...
Fixes #65
2019-06-28 16:53:32 +02:00
Adam Sawicki
34045555a6
Minor fix in documentation
2019-06-26 14:46:53 +02:00
past-due
0021c38ac8
Guard VmaWriteMagicValue / VmaValidateMagicValue on VMA_DEBUG_MARGIN > 0
...
Avoids some compiler warnings in the default case (VMA_DEBUG_MARGIN == 0)
2019-06-25 12:59:24 -04:00
Adam Sawicki
daa6a551f8
Fix VmaAllocator_T::AllocateMemory for case when VMA_ALLOCATION_CREATE_MAPPED_BIT is used with custom memory pool created in memory type that is not VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT
...
Also add test for it - function TestDeviceLocalMapped.
2019-06-25 15:26:37 +02:00
Adam Sawicki
0198e4b3ad
Fix in TravisCI configuration for Vulkan SDK download #2
2019-06-03 12:13:55 +02:00
Adam Sawicki
2f116feb0b
Fix in TravisCI configuration for Vulkan SDK download
2019-06-03 12:09:32 +02:00
Adam Sawicki
6da74efe0d
Merge remote-tracking branch 'origin/master'
2019-06-03 10:58:38 +02:00
Adam Sawicki
30b7a620ad
Update Premake5 to version 5.0.0-alpha14
...
To support Visual Studio 2019.
2019-06-03 10:58:21 +02:00
Adam Sawicki
8d6e6dea2d
Minor refactoring
2019-06-03 10:57:56 +02:00
Adam Sawicki
fc4dda0714
Merge pull request #62 from mikezackles/master
...
Use VK_NULL_HANDLE for VkBuffer init (not VMA_NULL)
2019-06-03 10:52:25 +02:00
Zachary Michaels
12f110c96b
Use VK_NULL_HANDLE for VkBuffer init (not VMA_NULL)
2019-05-31 19:35:59 -07:00
Adam Sawicki
8458ccee39
Merge pull request #61 from warrantyvoids/bugfix/stl-container-remove
...
Fixed an issue with STL_CONTAINER compilation.
2019-05-06 11:42:57 +02:00
Chris de Jong-Pobedinskiy
a2eadcf82d
Fixed an issue with STL_CONTAINER compilation.
...
Fixed an issue where defining the VMA_USE_STL_CONTAINERS
macro would prevent VMA from compiling. This was caused by calling a
VMA-container-specific function instead of the macro meant for
abstracting away the differences.
2019-05-05 19:30:39 +02:00
Adam Sawicki
ca9f16d517
Minor addition in documentation
2019-04-23 14:00:28 +02:00
Adam Sawicki
4fb254e362
Clarify comment about compatibility with RenderDoc
2019-04-23 11:29:57 +02:00
Adam Sawicki
d53dc4b211
Revert "change documentation to allow defragmentation of only buffers not images"
...
This reverts commit c9f948243c
.
Fixes #59
2019-04-18 13:27:43 +02:00
Adam Sawicki
0186958ee2
Remove link to survey from README.md
2019-04-17 18:20:40 +02:00
Adam Sawicki
94ce3d7da2
Update premake5 to latest version; rebuild binaries using Visual Studio 2019
...
Fix missing include in Tests.cpp.
2019-04-17 14:59:25 +02:00
Adam Sawicki
c9f948243c
change documentation to allow defragmentation of only buffers not images
...
#59
2019-04-17 13:33:27 +02:00
Adam Sawicki
bb18b299dc
fix GPU memory defragmentation to restrict supported memory types
...
Defragmentation of GPU memory is restricted to those memory types that support creating buffer used for transfers. #59
2019-04-17 12:31:40 +02:00
Adam Sawicki
672f7c8e94
clarify documentation regarding limitations of defragmentation
...
#59
2019-04-17 11:53:02 +02:00
Adam Sawicki
f48896d164
add a comment explaining how to make the sample app not crashing with RenderDoc
2019-04-16 12:55:35 +02:00
Adam Sawicki
5b7d1e2f3f
rebuild VulkanSample Release binary
2019-04-16 12:37:48 +02:00
Adam Sawicki
c17cb36aed
add Flax Engine to list of known usages
...
Also sorted list of software using the library alphabetically.
2019-04-16 10:41:56 +02:00
Adam Sawicki
371261505d
vmaFindMemoryTypeIndex: don't add HOST_VISIBLE to preferred flags when CREATE_MAPPED flag is used
...
This behavior was found to cause issues on PC AMD as well as Android ARM.
2019-04-05 17:44:15 +02:00
Adam Sawicki
33976ab0ad
Merge branch 'master' of https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
2019-04-05 11:11:54 +02:00
Adam Sawicki
9f09ef5d30
Add sample JSON dump file
2019-04-05 11:11:43 +02:00
Adam Sawicki
4a84207d7c
Remove unused variables from VmaBlockVector::ApplyDefragmentationMovesGpu Fixes #58
2019-03-25 23:42:04 +01:00
Adam Sawicki
496f7ac254
Add "Vulkan Best Practice for Mobile Developers" from ARM to list of known users
...
https://github.com/ARM-software/vulkan_best_practice_for_mobile_developers
2019-03-22 15:17:00 +01:00
Adam Sawicki
e5aa3c0a1e
Clarified that the library doesn't use STL containers by default.
...
Because responses in the survey indicate that some users think it does.
2019-03-15 12:26:36 +01:00
Adam Sawicki
b25a20a8da
Improved documentation for functions vkFlushMappedMemoryRanges, vkInvalidateMappedMemoryRanges.
2019-03-13 15:57:23 +01:00
Adam Sawicki
3fd40ede96
Fixed initialization order in class VmaDefragmentationAlgorithm_Generic constructor. #57 Thanks @manaskulkarni786 !
2019-03-11 10:07:28 +01:00
Adam Sawicki
6c8b7a2c3e
Added flag VMA_ALLOCATION_CREATE_DONT_BIND_BIT.
2019-03-05 13:40:29 +01:00
Adam Sawicki
50c90ea2a7
README: Added link to the survey.
2019-03-04 21:11:40 +01:00
Adam Sawicki
5a8c6b47d8
Changed syntax used in VmaAllocator_T::ImportVulkanFunctions to please some compiler on Android. #56 Thanks @renelindsay !
2019-02-25 11:32:48 +01:00
Adam Sawicki
ce7351bb16
Merge branch 'master' of https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
2019-02-20 14:56:01 +01:00
Adam Sawicki
f43e9cd270
VulkanSample, CreateTexture function: switched from staging image with VK_IMAGE_TILING_LINEAR to staging buffer and vkCmdCopyBufferToImage.
2019-02-20 14:55:31 +01:00
Adam Sawicki
526b596b69
Merge pull request #55 from amerkoleci/various_improvements
...
Fixes VMA_STATS_STRING_ENABLED define and unused variable warning
2019-02-06 11:18:29 +01:00
Amer Koleci
65f096555d
Remove unused freeSpaceBlockSize variable.
2019-02-05 18:47:08 +01:00
Amer Koleci
e9ae4199c6
Correctly handle VMA_STATS_STRING_ENABLED define and undefine methods not being used.
2019-02-05 18:45:12 +01:00
Adam Sawicki
cac7d7509e
Fixed usage of SRWLOCK from WinAPI. #54 Thanks @wumo !
2019-01-29 12:20:33 +01:00
Adam Sawicki
c9bf1003ac
Merge pull request #53 from cdwfs/uninitialized-vkresult
...
Fix for "potentially uninitialized variable" warning
2019-01-29 12:10:23 +01:00
Cort
a4dbfffa11
Fix for "potentially uninitialized variable" warning
2019-01-24 21:19:42 -08:00
Adam Sawicki
a195308982
Major optimization: Added VmaAllocationObjectAllocator to allocate VmaAllocation objects out of free-list allocator instead of making separate CPU heap allocations.
2019-01-24 18:08:24 +01:00