Commit Graph

265 Commits

Author SHA1 Message Date
Adam Sawicki
c29f274ea1 Fix in BlockMetadata_Linear::CreateAllocationRequest for too large allocations
Ported from https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator/pull/396
2024-03-05 16:23:44 +01:00
Adam Sawicki
5b87b9a028 Updated GpuMemDumpVis
Copied from Vulkan Memory Allocator
2024-03-05 16:05:38 +01:00
Adam Sawicki
1332c2be71 Updated copyright headers to year 2024 2024-03-05 16:03:30 +01:00
Adam Sawicki
47ebce51c9 Fixed and finished merge of GPUUploadHeap support
Added Allocator::IsGPUUploadHeapSupported and macro D3D12MA_OPTIONS16_SUPPORTED.
2024-03-05 15:40:14 +01:00
Adam Sawicki
dc222fe321 Merge branch 'feature-gpu-upload-heaps' 2024-03-05 15:03:36 +01:00
Adam Sawicki
55ad7acfdd Added logic to prefer small buffers as committed to save memory
Added ALLOCATOR_FLAG_DONT_PREFER_SMALL_BUFFERS_COMMITTED.
Added new test, fixed other tests.
Regenerated documentation.
2024-02-12 14:18:30 +01:00
Adam Sawicki
df8fac903a GpuMemDumpVis/README.md: Added warning about aliasing not supported
Thanks @alecazam
2023-11-06 11:01:06 +01:00
Adam Sawicki
1ab8aaec7e Fixed GpuMemDumpVis.py to not use deprecated Pillow function textsize
See https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator/issues/375 Thanks @alecazam
2023-11-03 13:18:46 +01:00
Adam Sawicki
5cb534cf9b
Merge pull request #60 from bmarques1995/master
Update CMakeLists.txt
2023-10-11 09:52:20 +02:00
Bruno S Marques
8655a87086
Update CMakeLists.txt
moved install syntax to target expected destinations
2023-10-10 12:12:05 -03:00
Adam Sawicki
7491beb381 Stylistic fixes after #59 2023-08-24 14:31:50 +02:00
Adam Sawicki
0e71874452
Merge pull request #59 from nathanvoglsam/fix-directx-header-support
Fix GetResourceAllocationInfo2 and GetResourceAllocationInfo calls to work on non-msvc compilers with DirectX-Headers
2023-08-24 14:29:29 +02:00
Adam Sawicki
3b949bfe92
Merge pull request #57 from Demonese/master
improved cmake: more modern target-based style
2023-08-24 14:22:01 +02:00
Nathan Voglsam
1046582d1d Fix GetResourceAllocationInfo2 and GetResourceAllocationInfo calls to work with DirectX-Headers header files 2023-08-24 22:20:36 +10:00
Adam Sawicki
a89a347536
Merge pull request #58 from Demonese/fix-1
fix potential compile errors if strict mode (/permissive-) is enabled
2023-08-24 09:29:20 +02:00
璀境石
2c7b5e8298 fix potential compile errors if strict mode (/permissive-) is enabled 2023-08-24 11:20:55 +08:00
璀境石
9207a3ea8e improved cmake: more modern target-based style 2023-08-24 10:20:18 +08:00
Adam Sawicki
04cf767f17
Merge pull request #56 from turanszkij/master-1
added Wicked Engine to projects list
2023-08-15 15:47:21 +02:00
Turánszki János
5e795ede81
added Wicked Engine to projects list 2023-08-07 07:44:39 +02:00
Adam Sawicki
8dc7b31598 An improvement in AllocatorPimpl::GetResourceAllocationInfo 2023-07-11 17:11:47 +02:00
Adam Sawicki
f9279955b6 Added information about GPU Upload Heaps support to README.md 2023-07-05 10:40:04 +02:00
Adam Sawicki
8730bb40bb Fixed bug in BuildStatsString when Resource Heap Tier 2 is not supported
Other changes pulled from branch feature-gpu-upload-heaps (without pulling the main feature).
2023-07-05 10:20:41 +02:00
Adam Sawicki
b6c5bea3cd Added support for GPU Upload Heaps from Agility SDK 1.710.0-preview
Added Allocator::IsGPUUploadHeapSupported.
Extended TotalStatistics::HeapType[] to 5 elements.
2023-07-05 10:09:03 +02:00
Adam Sawicki
554cd184af Merge branch 'master' of https://github.com/GPUOpen-LibrariesAndSDKs/D3D12MemoryAllocator 2023-05-02 12:52:36 +02:00
Adam Sawicki
3a53ed061b Updated Doxyfile for Doxygen 1.9.6
Regenerated documentation.
2023-05-02 12:52:24 +02:00
Adam Sawicki
2e5ccb114b
Merge pull request #50 from crud89/master
Support using open-sourced DirectX headers.
2023-04-12 15:31:40 +02:00
Carsten Rudolph
9c8c799fcf
Update prefix and documentation. 2023-04-12 15:30:05 +02:00
Carsten Rudolph
7234846ff5
Support using open-sourced DirectX headers. 2023-04-04 17:16:47 +02:00
Adam Sawicki
4d16e802e0 GpuMemDumpVis.py: Fixed division by zero error when only custom pools are used 2023-02-24 10:21:21 +01:00
Adam Sawicki
f128d39b7a
Merge pull request #48 from fecf/master
Fixed AllocatorPimpl::m_Device10 not being released
2023-01-09 10:47:04 +01:00
fecf
132559d399 Fixed AllocatorPimpl::m_Device10 not being released 2023-01-09 03:32:39 +09:00
Adam Sawicki
aae28a6fc9 Fixed Allocation::WasZeroInitialized 2022-12-29 14:43:21 +01:00
Adam Sawicki
9f7b03d244 Fixed behavior when ALLOCATOR_FLAG_DEFAULT_POOLS_NOT_ZEROED is used and ALLOCATION_DESC::ExtraHeapFlags contains D3D12_HEAP_FLAG_CREATE_NOT_ZEROED
It will use default pools now.
See #47
Also regenerated documentation.
2022-12-29 14:21:46 +01:00
Adam Sawicki
d46d5fbd5c Refactored CREATE_RESOURCE_PARAMS structure to be safer 2022-12-16 16:35:11 +01:00
Adam Sawicki
be5026f17b Fixed indentation 2022-12-16 15:53:25 +01:00
Adam Sawicki
bffe412f36 Fixed Doxyfile after merge 2022-12-16 14:32:25 +01:00
Adam Sawicki
5b0874e95a Refactoring after merge - fixed spaces instead of tabs 2022-12-16 14:28:42 +01:00
Adam Sawicki
1c6ebc8373
Merge pull request #44 from RuslanKutdusov/master
CreateCommittedResource3 and CreatePlacedResource2 support
2022-12-16 14:22:44 +01:00
Adam Sawicki
fbbfa4b14d Renamed the new member to POOL_DESC::ResidencyPriority 2022-12-15 16:32:24 +01:00
Adam Sawicki
396d871e4d Bumped version number because of the addition to the API 2022-12-15 16:24:05 +01:00
Adam Sawicki
ad4dbc18fd Added POOL_DESC::Priority 2022-12-15 16:23:26 +01:00
Adam Sawicki
48c7f78f45 Fixed JSON StatsString printed from VirtualBlock
Fix in VirtualBlock::BuildStatsString.
2022-11-23 17:02:55 +01:00
Adam Sawicki
7597f717c7 Fixed a bug in the documentation
Regenerated HTML documentation using new Doxygen 1.9.5.
2022-10-26 15:17:25 +02:00
Adam Sawicki
36437712c7 Fixed a comment 2022-10-19 14:57:36 +02:00
Adam Sawicki
50ef8f39a4 Added macro D3D12MA_DEBUG_LOG (empty by default), virtual function BlockMetadata::DebugLogAllAllocations 2022-10-19 14:55:09 +02:00
Adam Sawicki
9da647a833 Updated README with a link to Vcpkg 2022-08-29 14:28:12 +02:00
ruslan_kutdusov
c2c78fe042 add support of ID3D12Device10::CreateCommittedResource3, ID3D12Device8::CreatePlacedResource2 and perhaps all possible future versions of them 2022-07-28 19:48:29 +03:00
Adam Sawicki
f0458801c4
Merge pull request #43 from PixelCatalyst/fix_atomic_initialization
Use list initialization for atomics
2022-07-18 12:13:15 +02:00
Marcin Kienast
3b129882ef Use list initialization for atomics 2022-07-15 17:50:59 +02:00
Adam Sawicki
434fd4eba4 Minor fixes. Updated to Doxygen 1.9.4. 2022-06-14 15:22:23 +02:00