diff --git a/bin/D3D12Sample_Release_vs2019.exe b/bin/D3D12Sample_Release_vs2019.exe index df30745..6210f07 100644 Binary files a/bin/D3D12Sample_Release_vs2019.exe and b/bin/D3D12Sample_Release_vs2019.exe differ diff --git a/src/Tests.cpp b/src/Tests.cpp index a6e5d56..69d4261 100644 --- a/src/Tests.cpp +++ b/src/Tests.cpp @@ -120,6 +120,14 @@ static bool ValidateDataZero(const void* ptr, const UINT64 sizeInBytes) return true; } +static void SaveStatsStringToFile(const TestContext& ctx, const wchar_t* dstFilePath) +{ + WCHAR* s = nullptr; + ctx.allocator->BuildStatsString(&s, TRUE); + SaveFile(dstFilePath, s, wcslen(s) * sizeof(WCHAR)); + ctx.allocator->FreeStatsString(s); +} + static void TestVirtualBlocks(const TestContext& ctx) { wprintf(L"Test virtual blocks\n");