upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/scripts/launcher_python.sh
diff options
context:
space:
mode:
authorenlight3d <19186686+enlight3d@users.noreply.github.com>2026-12-01 21:46:50 +0100
committerenlight3d <19186686+enlight3d@users.noreply.github.com>2026-12-01 23:10:50 +0100
commit7c69bc8b191f4db3dc967872c3784253c155b2ff (patch)
tree894c196a463c71b0678da83f0c4f28eab9464d27 /scripts/launcher_python.sh
parentc4ca5761508f136c5530482093bb3053b0bad4fa (diff)
d3d12: the threads of a frame share its pipeline wait budget and none is left with nothing (D3D12-COLD-START-SKIPS)
The shared frame budget was a reservation: the first recording thread to wait in a frame took all that was left of it, and every other thread of that frame (and any thread still on an older frame) got nothing, so its draw went out without a wait and was dropped as not made. On first starts (no pipeline book) 400 to 3,600 draws, dispatches and indirect executions a frame were dropped at the arrival in the world, and the character's head, drawn by a pass the title runs once, stayed missing for the run. - The frame's waits are counted once over the threads that wait at the same time: what passed while at least one thread waited. A thread that begins to wait while others do is left what is left at that count, so waits that overlap still cost the frame its budget once; the time a thread records between two waits is not counted; a thread on an older frame joins the current frame's waits and opens no budget of its own (#2601). On by default; LEONIDA_PIPELINE_WAIT_DEADLINE=0 reserves the frame's budget as before (no effect with LEONIDA_PIPELINE_WAIT_SHARED=0); LEONIDA_AB can turn it while the title runs. - A pipeline's own budget (LEONIDA_PIPELINE_WAIT_ONCE) is charged the same way, the real time once, not the threads' times added up, whatever the sharing of the frame's budget (LEONIDA_PIPELINE_WAIT_ONCE=0 turns that budget off). - The queue a wait moves its pipeline forward in and the budget a pipeline's waits count against are passed in, so that tests cover them; one line tells the rules in use at the first wait. AI-assisted: Claude Code (Claude Opus 5.5) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'scripts/launcher_python.sh')
0 files changed, 0 insertions, 0 deletions