Title bytes under overlapping shader writes once; textures on several threads; cheaper walks of a submission's steps

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
localandClaude Opus 5.5 committed 2026-11-24 22:37:55 -06:00
1 parent c6e74e52ff
commit 63d27fb04f
2 files changed
+104 -17

No files matched your search

+5
View File
@@ -2579,6 +2579,11 @@ impl Shadow {
note_stale(0);
return true;
}
// The declared ranges overlap (views of the title's whole heap from
// dozens of offsets): as one range each page is asked about and
// compared once. Every byte of it is in a declared range, and of a
// copy in the PC's memory in the snapshot.
let busy = if crate::watch::light() { joined(busy) } else { busy };
let base = start / PAGE;
let mut title = vec![0u8; PAGE];
for (a, e) in busy {