Frame replay: the CPU's copies leave what the card wrote; buffers in the card's memory fit

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
localandClaude Opus 5.5 committed 2026-11-24 21:37:32 -06:00
1 parent bac2b33de2
commit b01486de02
7 files changed
+893 -104

No files matched your search

+1 -3
View File
@@ -406,9 +406,7 @@ impl Capture {
}
// SAFETY: the reference just taken. (The count does not tell
// all that are dying: `Recorder::gone` takes those out.)
held.insert(res.id, unsafe {
ID3D12Resource::from_raw(object.as_raw())
});
held.insert(res.id, unsafe { ID3D12Resource::from_raw(object.as_raw()) });
all.push(res.clone());
}
}