From fa4f6c33e675ae37f2041a9223092ea565108920 Mon Sep 17 00:00:00 2001 From: local Date: Wed, 25 Nov 2026 14:01:37 -0600 Subject: [PATCH] Revert "Replay: buffers in heaps opened from memory are made again (without the cross-adapter flag)" This reverts commit a50c7fdeb55eca4a27c70151b4154665c32e22e9. --- crates/victory-gpu/src/replay/play.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/crates/victory-gpu/src/replay/play.rs b/crates/victory-gpu/src/replay/play.rs index 887ccc5..fa55c85 100644 --- a/crates/victory-gpu/src/replay/play.rs +++ b/crates/victory-gpu/src/replay/play.rs @@ -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 = None; let clear: Option = r.clear.map(|c| { // SAFETY: 20 bytes that were a clear value.