A list makes a view its tables hold once and copies its descriptor (VICTORY_LIST_VIEWS=0: for every table); a draw's tables are gone through without memory of the heap

The recording job the frame waits for last (24 of 65 ms, timeline waits-2) is
2,500 indirect dispatches, each with a table of its own that differs in a
constant buffer. VICTORY_AB can turn VICTORY_MAP_THREADS (8 or 1) too.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
localandClaude Opus 5.5 committed 2026-11-25 09:03:29 -06:00
1 parent a1bdba4cf9
commit 4e77a8795b
5 files changed
+326 -29

No files matched your search

+10
View File
@@ -1126,6 +1126,16 @@ fn view_at(i: u32, generation: u32) -> Option<View> {
}
}
/// The words of the record at `handle`, if they are a view's.
pub(crate) fn record_at(handle: u64) -> Option<[u32; 3]> {
if handle == 0 {
return None;
}
// SAFETY: the handle is a descriptor slot the title passes back.
let words = unsafe { (handle as *const [u32; 3]).read_unaligned() };
(words[0] == VIEW_TAG).then_some(words)
}
/// The view recorded at `handle`, if one is (and its resource is alive).
pub(crate) fn view(handle: u64) -> Option<View> {
if handle == 0 {