A root constant buffer not 256-byte aligned is copied into scratch memory once for the draws of a list that bind it (from Belobug 84ea9c12, romainhedouin)

Until the list next writes title memory, as for refreshes: up to 64 KiB of
fill less for every repeat. How often this title binds one was not measured.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
localandClaude Opus 5.5 committed 2026-11-25 15:43:00 -06:00
1 parent 14692d11ff
commit a869d90e3a
2 files changed
+20 -3

No files matched your search

+1 -3
View File
@@ -713,9 +713,7 @@ fn root_view(list: &HostList, address: u64, srv: bool) -> Option<u64> {
crate::book::root(gpu, len);
return Some(gpu);
}
let (gpu, to) = list.scratch(len)?;
list.defer_fill(to, address as *const u8, len as usize);
Some(gpu)
list.fill_scratch(address as *const u8, len)
}
macro_rules! once {