Revert "Replay: buffers in heaps opened from memory are made again (without the cross-adapter flag)"

This reverts commit a50c7fdeb5.
This commit is contained in:
local committed 2026-11-25 14:01:37 -06:00
1 parent b5410ccd82
commit fa4f6c33e6
1 file changed
+1 -5
+1 -5
View File
@@ -788,11 +788,7 @@ impl Player {
let m = moves.entry(format!("{seen:?}")).or_insert((0u32, 0u64));
*m = (m.0 + 1, m.1 + r.desc.width);
}
let mut desc = gpu::to_desc(&r.desc);
// (Heaps are made without what let others open them.)
if matches!(r.place, Place::Placed { .. }) {
desc.Flags &= !D3D12_RESOURCE_FLAG_ALLOW_CROSS_ADAPTER;
}
let desc = gpu::to_desc(&r.desc);
let mut made: Option<ID3D12Resource> = None;
let clear: Option<D3D12_CLEAR_VALUE> = r.clear.map(|c| {
// SAFETY: 20 bytes that were a clear value.