mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/D3D12MemoryAllocator.git
synced 2024-11-12 23:40:06 +00:00
Added test for JSON dump with custom pools and their names
This commit is contained in:
parent
4ebe099c47
commit
ce48386e5c
@ -65,7 +65,7 @@ $(function() {
|
||||
<div class="headertitle"><div class="title">D3D12 Memory Allocator </div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><p ><b>Version 2.0.0</b> (2022-03-25)</p>
|
||||
<div class="textblock"><p ><b>Version 2.0.1-development</b> (2022-03-29)</p>
|
||||
<p >Copyright (c) 2019-2022 Advanced Micro Devices, Inc. All rights reserved. <br />
|
||||
License: MIT</p>
|
||||
<p >Documentation of all members: <a class="el" href="_d3_d12_mem_alloc_8h.html">D3D12MemAlloc.h</a></p>
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
/** \mainpage D3D12 Memory Allocator
|
||||
|
||||
<b>Version 2.0.0</b> (2022-03-25)
|
||||
<b>Version 2.0.1-development</b> (2022-03-29)
|
||||
|
||||
Copyright (c) 2019-2022 Advanced Micro Devices, Inc. All rights reserved. \n
|
||||
License: MIT
|
||||
|
@ -1033,6 +1033,11 @@ static void TestCustomPools(const TestContext& ctx)
|
||||
D3D12_RESOURCE_STATE_GENERIC_READ,
|
||||
NULL, // pOptimizedClearValue
|
||||
IID_PPV_ARGS(&res)) );
|
||||
|
||||
// JSON dump
|
||||
wchar_t* json = nullptr;
|
||||
ctx.allocator->BuildStatsString(&json, TRUE);
|
||||
ctx.allocator->FreeStatsString(json);
|
||||
}
|
||||
|
||||
static void TestPoolsAndAllocationParameters(const TestContext& ctx)
|
||||
|
Loading…
Reference in New Issue
Block a user