VICTORY_QUEUE_HOST_TEXTURES=0: records of textures the host writes are not queued for the texture pass (off)

A slot's record of a texture object the host renders to or writes (a
target, depth or unordered access texture) is queued for the pass over
textures picked by index like any texture. The pass takes such a slot,
finds nothing to bring up to date (it makes and uploads nothing for it) and
takes it out; the title writes such views into its tables' slots every
frame, so they come back, each time a take of the queue's lock, a place
among the slots due and a few microseconds of the pass (58,978 of 90,699
slots taken in 5 s of a cutscene found nothing to do,
coolfox-20261126-233017 18:02:23; 18ff932 says how many were such views).

With the switch, such a record takes the slot out of the queue as a buffer
view's does (`note_buffer`; with the queue's marks, without its lock when it
is not queued). Counted since the start in the lock line.

Off by default (not behaviour-neutral, though the pass did nothing for these
slots): fewer slots are due, so a pass reaches others sooner, the catch-up
budget (VICTORY_TEXTURE_CATCHUP, started by the count due; off in the
launcher) starts less often, and a bake's pass is asked for less often (it
runs when the queue's write count changed).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
readmet3xt-labandClaude Opus 5.5 committed 2026-11-27 01:03:43 +05:30
1 parent 8625c3a00b
commit 5dda41ddff
2 files changed
+52 -2

No files matched your search

+3 -1
View File
@@ -9203,7 +9203,8 @@ impl Meter {
stale views, {} else); waited for {} ms ({}, {}, {}, {}, {}, {}, {} ms by the same places); held {} ms \
taking the slots due, {} ms making slots due, {} ms for stale views; not taken {} times, as nothing would \
have changed ({} noting a slot's record, {} by table reads, {} for stale views); since the start, {} slots \
taken out by a table read after the first of their frame (VICTORY_TABLED_REREAD=1)",
taken out by a table read after the first of their frame (VICTORY_TABLED_REREAD=1), {} records of textures \
the host writes left out of the queue (VICTORY_QUEUE_HOST_TEXTURES=0)",
taken.iter().sum::<u64>(),
taken[0],
taken[1],
@@ -9228,6 +9229,7 @@ impl Meter {
skipped[4],
skipped[5],
crate::descriptor::host::TABLED_WRITES[2].load(Ordering::Relaxed),
crate::descriptor::host::HOST_TEXTURES_LEFT_OUT.load(Ordering::Relaxed),
);
}
}