Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/startup_stubs/d3d12_xs_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2272,14 +2272,14 @@ HRESULT __stdcall list_close(Wrapper* self)
state.list_close_failed = FAILED(hr);
state.list_close_hr = hr;
state.list_close_skip_logged = false;
if (state.direct_mesh_trace_recording)
log("x2w-mesh-direct close list=%p recording=%llu hr=0x%08lx",
self, state.direct_mesh_trace_recording, static_cast<unsigned long>(hr));
if (FAILED(hr)) {
discard_upload_chunks(state.upload_chunks, upload_chunks.data(), snapshot_chunks.data());
if (const auto found = list_recordings.find(self); found != list_recordings.end() && found->second)
found->second->close_failed = true;
}
if (state.direct_mesh_trace_recording)
log("x2w-mesh-direct close list=%p recording=%llu hr=0x%08lx",
self, state.direct_mesh_trace_recording, static_cast<unsigned long>(hr));
ReleaseSRWLockExclusive(&allocator_lock);
InterlockedIncrement(&render_closes);
if (FAILED(hr)) {
Expand Down
Loading