Commit Graph
1398 Commits
Author SHA1 Message Date
localandClaude Opus 5.5 3a99ee610c List calls written down and translated by threads of ours (VICTORY_THIN=1, off)
The title's 45,000 to 60,000 list calls a frame append their arguments to a
stream; threads of ours translate it, several lists at a time, and the line of
submissions goes on with a submission when its recordings are translated.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 11:05:14 -06:00
localandClaude Opus 5.5 4fa965582f List calls written down and translated by threads of ours (VICTORY_THIN=1, off)
The title's 45,000 to 60,000 list calls a frame append their arguments to a
stream; threads of ours translate it, several lists at a time, and the line of
submissions goes on with a submission when its recordings are translated.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 11:05:14 -06:00
localandClaude Opus 5.5 e77a7d9fd9 Ranges of memory that changed under texture views are joined before they are looked up (DexNom/VIctory 921d8d3b)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 10:55:15 -06:00
localandClaude Opus 5.5 378dec6caa Ranges of memory that changed under texture views are joined before they are looked up (DexNom/VIctory 921d8d3b)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 10:55:15 -06:00
localandClaude Opus 5.5 3315f29a75 The run's numbers on the picture (VICTORY_PANEL=1; off; F3 shows and hides it)
White on black in the upper left corner of what is shown, twice a second, from the
counters of the frame-rate line, memory and textures; our own 5x7 characters. Copied
onto the swap chain's buffer out of a buffer in the card's memory: screenshots carry
it, saved frames and the frame recorder do not.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 10:52:47 -06:00
localandClaude Opus 5.5 edcde681f0 The run's numbers on the picture (VICTORY_PANEL=1; off; F3 shows and hides it)
White on black in the upper left corner of what is shown, twice a second, from the
counters of the frame-rate line, memory and textures; our own 5x7 characters. Copied
onto the swap chain's buffer out of a buffer in the card's memory: screenshots carry
it, saved frames and the frame recorder do not.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 10:52:47 -06:00
localandClaude Opus 5.5 9a6c829d68 Shaders: normalized buffer codes give the nearest float, cube gradients take DXIL's base-2 logarithm, d16 data of integer views keeps its bits, unordered views of vertex programs are declared
- VIctory da82e444: the host's division was a step off for some codes, and a
  material index cut from one was the code below.
- DexNom/VIctory 921d8d3b (its cube part, with its test): the level was taken
  from a natural logarithm DXIL does not have, 1.44 times too high; the
  instruction's least level was lost.
- VIctory 4243a96a, for buffers a program picks from the heap.
- VIctory a1a2077a.
Every shader is translated anew.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 10:50:14 -06:00
localandClaude Opus 5.5 31f662bc9b Shaders: normalized buffer codes give the nearest float, cube gradients take DXIL's base-2 logarithm, d16 data of integer views keeps its bits, unordered views of vertex programs are declared
- VIctory da82e444: the host's division was a step off for some codes, and a
  material index cut from one was the code below.
- DexNom/VIctory 921d8d3b (its cube part, with its test): the level was taken
  from a natural logarithm DXIL does not have, 1.44 times too high; the
  instruction's least level was lost.
- VIctory 4243a96a, for buffers a program picks from the heap.
- VIctory a1a2077a.
Every shader is translated anew.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 10:50:14 -06:00
localandClaude Opus 5.5 350c686481 First uploads of textures picked by index run on a copy queue of their own, their slots show them when they have (VICTORY_UPLOAD_AHEAD=1; off); blips found while the camera moves
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 10:50:14 -06:00
localandClaude Opus 5.5 1cfc476831 First uploads of textures picked by index run on a copy queue of their own, their slots show them when they have (VICTORY_UPLOAD_AHEAD=1; off); blips found while the camera moves
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 10:50:14 -06:00
localandClaude Opus 5.5 d1c412c57b A slot written with another texture goes on showing one that can stand for it (VICTORY_KEEP_SHOWN=1; 0: black, then grey); textures that pop are counted (VICTORY_POP_WATCH)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 10:39:25 -06:00
localandClaude Opus 5.5 af0013dd76 A slot written with another texture goes on showing one that can stand for it (VICTORY_KEEP_SHOWN=1; 0: black, then grey); textures that pop are counted (VICTORY_POP_WATCH)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 10:39:25 -06:00
localandClaude Opus 5.5 810efe5829 Structure builder and rays: dispatches counted in threads, empty slots never entered, pages that are not there never hit; vertex signatures as DXC orders them
From DexNom/VIctory (GPL-3.0-or-later) bc3cd4b0 and 5f4c3df4:
- DispatchX's flag 0x20 says the counts are threads (bc3cd4b0). Taken for
  groups, a rehydration stage ran up to 64 times its threads and stored over
  the structures after its own. The lanes past the count leave at once, in
  every builder program of one dimension without a group barrier (there: in
  two, by digest). VICTORY_THREAD_DIMENSIONS=0: as before.
- A child that is not there may have inverted infinite bounds: it was entered
  at minus infinity, came first and ended the walk (bc3cd4b0).
- A node in a page without a copy reads zeros, a child and a box: no hit
  (bc3cd4b0).
- Signature rows in the order of their names; vertex outputs interpolated as
  the title's PSV0 says; an unread input packed beside a per-vertex one is
  constant too (5f4c3df4), with their tests.
Every shader is translated again.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 09:39:18 -06:00
localandClaude Opus 5.5 bc83b16387 Structure builder and rays: dispatches counted in threads, empty slots never entered, pages that are not there never hit; vertex signatures as DXC orders them
From DexNom/VIctory (GPL-3.0-or-later) bc3cd4b0 and 5f4c3df4:
- DispatchX's flag 0x20 says the counts are threads (bc3cd4b0). Taken for
  groups, a rehydration stage ran up to 64 times its threads and stored over
  the structures after its own. The lanes past the count leave at once, in
  every builder program of one dimension without a group barrier (there: in
  two, by digest). VICTORY_THREAD_DIMENSIONS=0: as before.
- A child that is not there may have inverted infinite bounds: it was entered
  at minus infinity, came first and ended the walk (bc3cd4b0).
- A node in a page without a copy reads zeros, a child and a box: no hit
  (bc3cd4b0).
- Signature rows in the order of their names; vertex outputs interpolated as
  the title's PSV0 says; an unread input packed beside a per-vertex one is
  constant too (5f4c3df4), with their tests.
Every shader is translated again.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 09:39:18 -06:00
local 972bb4b0f8 Merge branch 'night/crash' into local/next 2026-11-25 09:25:28 -06:00
local 0769cc9dc8 Merge branch 'night/crash' into local/next 2026-11-25 09:25:28 -06:00
localandClaude Opus 5.5 3bab23c066 Title slots show a new texture after its upload has run (VICTORY_SHOW_AFTER=1; off), and the book says more of one
Three losses were page faults in a texture made and shown in the last tenth of a second. With the switch the
texture pass, and a draw's table for the title's slots, put a neutral 1x1 texture (or the old view of the same
texture) there until the submission with the upload has finished. The book's report has the piece and its
block, the submissions at the making, the upload's submission, and what the slot showed before.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 09:24:15 -06:00
localandClaude Opus 5.5 886e2040fc Title slots show a new texture after its upload has run (VICTORY_SHOW_AFTER=1; off), and the book says more of one
Three losses were page faults in a texture made and shown in the last tenth of a second. With the switch the
texture pass, and a draw's table for the title's slots, put a neutral 1x1 texture (or the old view of the same
texture) there until the submission with the upload has finished. The book's report has the piece and its
block, the submissions at the making, the upload's submission, and what the slot showed before.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 09:24:15 -06:00
local 8b01744f5a Merge branch 'night/cpu' into local/next 2026-11-25 09:13:31 -06:00
local 3d738f0f3e Merge branch 'night/cpu' into local/next 2026-11-25 09:13:31 -06:00
localandClaude Opus 5.5 6acfbb8697 A copy's buffer is asked for its bytes when they are first needed (copies of tests have none)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 09:07:01 -06:00
localandClaude Opus 5.5 bfe6e4a73c A copy's buffer is asked for its bytes when they are first needed (copies of tests have none)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 09:07:01 -06:00
local 6e5afc797b Merge branch 'local/next' into night/cpu 2026-11-25 09:03:29 -06:00
local e7c7210657 Merge branch 'local/next' into night/cpu 2026-11-25 09:03:29 -06:00
localandClaude Opus 5.5 4e77a8795b 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]>
2026-11-25 09:03:29 -06:00
localandClaude Opus 5.5 29be4bfd47 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]>
2026-11-25 09:03:29 -06:00
local 005c663b83 Merge branch 'night/crash' into local/next 2026-11-25 08:43:34 -06:00
local fe950427e6 Merge branch 'night/crash' into local/next 2026-11-25 08:43:34 -06:00
local a74de31748 Merge branch 'local/next' into night/crash 2026-11-25 08:23:49 -06:00
local 5851d8b7e3 Merge branch 'local/next' into night/crash 2026-11-25 08:23:49 -06:00
localandClaude Opus 5.5 3b73cb0eec Textures are cut from blocks older than every list on the card (VICTORY_RIPE_BLOCKS=0: from new ones too)
Runs n08 and n11 were lost to page faults in the first texture of a block made that instant: lists on the
card read the slots new textures are put in. 12 empty blocks are made ahead; textures up to a whole block
lie in them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 08:23:49 -06:00
localandClaude Opus 5.5 161e51ebf1 Textures are cut from blocks older than every list on the card (VICTORY_RIPE_BLOCKS=0: from new ones too)
Runs n08 and n11 were lost to page faults in the first texture of a block made that instant: lists on the
card read the slots new textures are put in. 12 empty blocks are made ahead; textures up to a whole block
lie in them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 08:23:49 -06:00
localandClaude Opus 5.5 f1d3eb2b64 New card memory is waited for until a queue of its own has run after it (VICTORY_WAIT_RESIDENT=0: not)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 08:23:19 -06:00
localandClaude Opus 5.5 300d5e9389 New card memory is waited for until a queue of its own has run after it (VICTORY_WAIT_RESIDENT=0: not)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 08:23:19 -06:00
localandClaude Opus 5.5 a1bdba4cf9 Recording: a lock a descriptor slot, a thread's own answers about buffers, tables left as they are when nothing changed
Timeline waits-1 (dorm, 78 ms): the title's render thread stands 20 to 30 ms
a frame at one recording job and the rest at others; recording is the
critical path, and our list calls are 95 % of it. Profile waits-1, the five
recording threads: 21 % contended locks, 11 % HostHeap::keep, 17 % readable,
7 % the look-up of buffers, 8 % clocks and counters of ours.

VICTORY_QUICK_FIND=0 and VICTORY_READY_ONCE=0 go back; counters of the
diagnostics by thread, a coarse clock for what is noted per texture and slot.
VICTORY_AB=<s>,<switches> turns switches on and off while the title runs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 08:14:21 -06:00
localandClaude Opus 5.5 66c935eac2 Recording: a lock a descriptor slot, a thread's own answers about buffers, tables left as they are when nothing changed
Timeline waits-1 (dorm, 78 ms): the title's render thread stands 20 to 30 ms
a frame at one recording job and the rest at others; recording is the
critical path, and our list calls are 95 % of it. Profile waits-1, the five
recording threads: 21 % contended locks, 11 % HostHeap::keep, 17 % readable,
7 % the look-up of buffers, 8 % clocks and counters of ours.

VICTORY_QUICK_FIND=0 and VICTORY_READY_ONCE=0 go back; counters of the
diagnostics by thread, a coarse clock for what is noted per texture and slot.
VICTORY_AB=<s>,<switches> turns switches on and off while the title runs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 08:14:21 -06:00
local fe59a13908 Merge branch 'local/next' into night/crash 2026-11-25 08:09:33 -06:00
local e35b212b20 Merge branch 'local/next' into night/crash 2026-11-25 08:09:33 -06:00
localandClaude Opus 5.5 a7e8c35091 A measurement: textures of new blocks read by lists sent before; the book knows a block again whose pointer something else had
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 08:09:33 -06:00
localandClaude Opus 5.5 30f2aa7796 A measurement: textures of new blocks read by lists sent before; the book knows a block again whose pointer something else had
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 08:09:33 -06:00
local 336f613986 A timeline of a few frames, with the chain each present came out of (VICTORY_TIMELINE)
Diagnostics only. VICTORY_TIMELINE=<file> records three frames (or
VICTORY_TIMELINE_FRAMES) after VICTORY_TIMELINE_AT seconds and writes a
Chrome trace and a text summary: spans of our work, the waits and wake-ups
of the title's threads (its imports) and of ours (our import table), long
kernel calls on the address space, and when each submission ran on the card.
The summary walks back from each present through who waited on whom.
Nothing is wrapped without the variable.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 008de5f9ffcef132079b1af8b7f4f1c22235cee9)
2026-11-25 07:46:13 -06:00
local 7c62f5b707 A timeline of a few frames, with the chain each present came out of (VICTORY_TIMELINE)
Diagnostics only. VICTORY_TIMELINE=<file> records three frames (or
VICTORY_TIMELINE_FRAMES) after VICTORY_TIMELINE_AT seconds and writes a
Chrome trace and a text summary: spans of our work, the waits and wake-ups
of the title's threads (its imports) and of ours (our import table), long
kernel calls on the address space, and when each submission ran on the card.
The summary walks back from each present through who waited on whom.
Nothing is wrapped without the variable.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 008de5f9ffcef132079b1af8b7f4f1c22235cee9)
2026-11-25 07:46:13 -06:00
localandClaude Opus 5.5 0322b39abd New memory is resident before anything names it (VICTORY_WAIT_RESIDENT=0: as before)
Lists already on the card read our descriptor heaps as they are; only lists sent later wait for a new
heap's mapping. Run n08's loss: a page fault in a texture made that instant, in a new block.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 07:40:47 -06:00
localandClaude Opus 5.5 fdbae8592e New memory is resident before anything names it (VICTORY_WAIT_RESIDENT=0: as before)
Lists already on the card read our descriptor heaps as they are; only lists sent later wait for a new
heap's mapping. Run n08's loss: a page fault in a texture made that instant, in a new block.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 07:40:47 -06:00
local ba837eeff9 Merge branch 'night/cpu' into local/next 2026-11-25 07:21:55 -06:00
local faf5687af9 Merge branch 'night/cpu' into local/next 2026-11-25 07:21:55 -06:00
localandClaude Opus 5.5 a0b4909dfb Objects let go and lists that ran are kept about two frames longer (VICTORY_BURY_LAG=0: not)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 07:21:55 -06:00
localandClaude Opus 5.5 7999171444 Objects let go and lists that ran are kept about two frames longer (VICTORY_BURY_LAG=0: not)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 07:21:55 -06:00
localandClaude Opus 5.5 9e30a46122 Scripted keys can be held from one time to another
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 07:19:34 -06:00
localandClaude Opus 5.5 2acfdfb380 Scripted keys can be held from one time to another
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 07:19:34 -06:00