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:
1 parent
1f58d91366
commit
d77556c791
3 files changed
+22
-10
No files matched your search
@@ -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];
|
||||
|
||||
|
||||
Reference in new issue
Block a user