Skip to content

Commit

Permalink
Fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
panos-lunarg committed Oct 25, 2024
1 parent 427af72 commit dffa754
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions framework/encode/d3d12_capture_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,13 @@ void D3D12CaptureManager::EndCommandListMethodCallCapture(ID3D12CommandList_Wrap

void D3D12CaptureManager::WriteTrackedState(util::FileOutputStream* file_stream,
format::ThreadId thread_id,
util::FileOutputStream* asset_file_stream)
util::FileOutputStream* asset_file_stream,
const std::string& asset_file_name)
{
Dx12StateWriter state_writer(file_stream, GetCompressor(), thread_id, asset_file_stream);
GFXRECON_UNREFERENCED_PARAMETER(asset_file_stream);
GFXRECON_UNREFERENCED_PARAMETER(asset_file_name);

Dx12StateWriter state_writer(file_stream, GetCompressor(), thread_id);
state_tracker_->WriteState(&state_writer, GetCurrentFrame());
}

Expand Down
8 changes: 6 additions & 2 deletions framework/encode/d3d12_capture_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -838,9 +838,13 @@ class D3D12CaptureManager : public ApiCaptureManager

virtual void WriteTrackedState(util::FileOutputStream* file_stream,
format::ThreadId thread_id,
util::FileOutputStream* asset_file_stream = nullptr) override;
util::FileOutputStream* asset_file_stream = nullptr,
const std::string& asset_file_name = "") override;

virtual void WriteAssets(util::FileOutputStream* assert_file_stream, format::ThreadId thread_id) override {}
virtual void WriteAssets(util::FileOutputStream* assert_file_stream,
const std::string& asset_file_name,
format::ThreadId thread_id) override
{}

void PreAcquireSwapChainImages(IDXGISwapChain_Wrapper* wrapper,
IUnknown* command_queue,
Expand Down

0 comments on commit dffa754

Please sign in to comment.