Lighter refreshes of host copies; landing past the guards; the heap pass spread
VICTORY_LIGHT_REFRESH (on): view memory nothing wrote since the last asking is known by a bit a block, copies nothing of which changed wake no thread, the ends of a range are not copied at every refresh, long copies are split. VICTORY_LAND_WINDOW=1: what shaders wrote goes into guarded title memory through a view of ours of the section, the guard stays. VICTORY_SEND_CHANGED=1: pages taken again go up to the card where they differ. VICTORY_HEAP_SPREAD (on): a sixteenth of the heap's slots at every pass. Three log lines split the preparing, the askings and the heap pass. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
eb50022824
commit
b8bf6d518c
9 files changed
+1549
-59
No files matched your search
@@ -1047,6 +1047,13 @@ impl HostHeap {
|
||||
buffers.iter().copied().collect()
|
||||
}
|
||||
|
||||
/// Of [`HostHeap::buffer_slots`], those of one of `parts` parts: every
|
||||
/// slot is in the same part each time.
|
||||
pub(crate) fn buffer_slots_of(&self, part: u32, parts: u32) -> Vec<u32> {
|
||||
let buffers = self.buffers.lock().unwrap_or_else(|e| e.into_inner());
|
||||
buffers.iter().copied().filter(|slot| slot % parts == part).collect()
|
||||
}
|
||||
|
||||
/// The title slots whose buffer view was written, or went, since the
|
||||
/// last call.
|
||||
pub(crate) fn buffer_changes(&self) -> Vec<u32> {
|
||||
|
||||
Reference in new issue
Block a user