diff options
| author | NotRexed <therealnothingfn@gmail.com> | 2026-11-27 10:59:42 -0500 |
|---|---|---|
| committer | NotRexed <therealnothingfn@gmail.com> | 2026-11-27 10:59:42 -0500 |
| commit | 9e926819c871e28721f1a637eec674512d9f6e59 (patch) | |
| tree | 7969fc0991300f8044e1fb037680c861a7ce808d /runtime/src/xma2_decoder.cpp | |
| parent | 603d8c1e1b27239042d24a0c2fe99810c2ad4b8c (diff) | |
Card steps: a level's reads gathered by one dispatch for each host copy (LEONIDA_STEP_GATHER=1, off by default)
The fills done on the card in front of a submission's lists were a
CopyBufferRegion each into the buffer between: 3,100 a frame in session
cb2-64, up to 11,600 in a street, nearly all out of the one host copy of
the title's 174 MB heap and a few hundred bytes each. With the switch the
places read are written down as (offset in the copy, offset between,
bytes) in upload memory of the list, in pieces of 256 bytes at most, and
one dispatch of ours for each host copy copies them, a thread a piece.
The bytes that arrive are the same; a level with a read that is not whole
dwords at a dword's place is copied command by command as before, and so
is every level's write out of the buffer between.
The technique is the masked pass of felicienradio/cold-project-vi aff5fb2
(GextFRDD, GPL-3.0-or-later): many small ranges of a copy in the card's
memory as entries of one dispatch through upload memory, not a copy
command each. There it carried the title's changed runs under flights'
writes and took an 85 ms settle out of a frame (4.1-4.3 -> 4.6-4.7 fps,
RTX 3060, Series S profile). What it gains for these fills is not
measured: off by default, and LEONIDA_AB can name the switch. The frame
line says how many dispatches and pieces a frame.
Tests: the entries for a level's reads (pieces, host copies, room,
refusals); on the software adapter, four levels recorded with the pass,
one of them not gatherable, against the bytes the copies give.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/xma2_decoder.cpp')
0 files changed, 0 insertions, 0 deletions