Fewer empty staging blocks kept; the raw twins made are counted

Run crash-1 held 5.2 GB of staging blocks (n02: 0.9): at most 8 empty ones
stay (512 MB of the PC's memory). With the frame line: raw twins made per
frame, and those that had to be views as the title's are.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
localandClaude Opus 5.5 committed 2026-11-25 03:23:33 -06:00
1 parent 60484536b0
commit 62c13818e7
3 files changed
+22 -10

No files matched your search

+1 -1
View File
@@ -2542,7 +2542,7 @@ fn buffer_view_ok(format: DXGI_FORMAT, first: u64, count: u32, stride: u32, raw:
.is_some_and(|end| end <= width)
}
/// Raw twins ([`raw_twins`]) made since the start, and those of them that had
/// Raw twins ([`raw_twins`]) made since the last frame line, and those of them that had
/// to be views as the title's slot has them (a raw view begins on 16 bytes).
pub(crate) static TWINS: [std::sync::atomic::AtomicU64; 2] = [const { std::sync::atomic::AtomicU64::new(0) }; 2];