Merge fork main a26859f (the first room renders right)

Descriptor records the title copies as bytes are mirrored before each
submission. Views off their copy's elements: our rule (raw views too, and
now typed views on 16 bytes), the fork's copies. Wave sums of halves: ours
(the fork's test passes with it). Sizes of descriptors nothing uses: ours,
then the fork's for 2D images. The fork's count of cut indirect groups is
left out: up to WIDEST groups run as asked here.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
localandClaude Opus 5.5 committed 2026-11-25 01:00:56 -06:00
commit f1650b7e45
13 files changed
+964 -109

No files matched your search

+6 -1
View File
@@ -4726,6 +4726,9 @@ impl Host {
self.settle(&mut submitted, why);
}
}
// Descriptors the title copied into placed heaps directly, before
// command lists that index those slots are submitted.
crate::descriptor::sync_heaps();
// That list runs first, and is one of the submission's from here on.
let with: Vec<&HostList>;
let runs = match &own {
@@ -7130,6 +7133,8 @@ impl Meter {
tracing::info!(
"indirect mesh dispatches: the largest group count asked for {mesh_largest} (run: at most 65535), {mesh_groups:.0} groups asked per frame"
);
crate::shadow::exact_line(frames);
crate::descriptor::sync_line(frames);
late_line(frames);
card_clock_line(frames, ms);
crate::shadow::back_line(frames);
@@ -7228,7 +7233,7 @@ impl Meter {
let [kept, dropped, slots, uploaded] =
[0, 1, 2, 3].map(|i| crate::descriptor::host::PAGE_WRITES[i].load(Ordering::Relaxed));
tracing::info!(
"writes behind the guards, since the start: {writes} DirectStorage writes into physical pages at addresses the title had mapped ({} MB); {guarded} guarded 64 KiB blocks of host copies lay under them ({}); {plain} reads to plain addresses finished ({}); {kept} ranges under texture views kept for the texture pass ({dropped} dropped); {slots} slots of placed textures held their bytes, {uploaded} of them uploaded before the write ({}) (VICTORY_PAGE_WRITES: unset counts, 1 acts, guards, slots, all)",
"writes behind the guards, since the start: {writes} DirectStorage writes into physical pages at addresses the title had mapped ({} MB); {guarded} guarded 64 KiB blocks of host copies lay under them ({}); {plain} reads to plain addresses finished ({}); {kept} ranges under texture views kept for the texture pass ({dropped} dropped); {slots} slots of placed textures held their bytes, {uploaded} of them uploaded before the write ({}) (VICTORY_PAGE_WRITES: unset or guards opens the guarded blocks, 0 counts only, 1, slots, all)",
bytes >> 20,
if mode & 1 != 0 { "opened, taken again" } else { "left as they were" },
if mode & 4 != 0 { "told as well" } else { "counted only" },