diff options
| author | NotRexed <therealnothingfn@gmail.com> | 2026-11-29 11:01:18 -0500 |
|---|---|---|
| committer | NotRexed <therealnothingfn@gmail.com> | 2026-11-29 11:01:18 -0500 |
| commit | 804280d80313b7b9b801d198759fcfa4cf329686 (patch) | |
| tree | ef156a4bd09bff141ac52caf99051b5e55fe2ce3 /runtime/test/code_hooks_test.cpp | |
| parent | cc0f662a70b6e6e561692f56342b5a7df3831bd7 (diff) | |
Fork ports of 2026-11-29: faces, texture copies into title memory, the paired forms, switches by turns
Picture:
- Cutscene faces with only their eyes and teeth since the LDS bounds: the 25 face programs
(the face network's operations, the normals rebuilt from blend shapes) keep their LDS
accesses unbounded, by name and in the cache's key (LEONIDA_LDS_BOUNDS_EXEMPT; trustno1-coder
9eb44fa6, Victorywillbeours222). Six of them run in the waterside tour.
- Copies and resolves into textures the title fills go back into title memory once their list
has run, only the subresources written and of them the 4 KiB pages that change
(LEONIDA_COPY_BACK, on; voidopcode/vilocity ee93826): a view the title places over that
memory was made from bytes the copy never reached (faces in blocks of colour, clothes in
another texture's). 9,216 copies (52 MB) in a run of 8 minutes; by turns the frame's median
-0.33 +-0.50 and +0.34 +-0.25 ms.
- A list's prelude leaves out its upload of a texture another list wrote on the host GPU and
submitted first (LEONIDA_UPLOAD_GUARD; trustno1-coder e530c003, aventureroestelar-source),
noted only while the texture is still the title's.
- A texture asked for as reserved (levels on demand) is no longer cut from the pool, where it
was never reserved and was made whole again (aki-gta6/aki-runtime ad214cd, KeethSmith).
- The launcher names all 33 programs the chain gave an approximate form in LEONIDA_PAIRED_FOR
(timing runs d39: 1.98 ms of card a frame against 2.31 for the eleven before; tours d37, d38
with nothing broken), and keeps device-removed data to the faulting address (d35: the card
83 % busy against 89 % with breadcrumbs, the frames alike).
Shader translator (one re-translation): global stores count as UAV writes for early depth
(trustno1 788fe236); a sum of high halves is not taken for a wave reduction (Bebrik229); SDWA
sign-extended selects; mesh loops leave at their own exit at the limit instead of a `ret`
(LEONIDA_MESH_LOOP_EXITS, trustno1 6bbb6bca); readers indexed once per lowering (trustno1
7cc0d153, 101Leafy); raw FSSM records (XDAT 0x0c) read (fuzeofficial, via MiniVI 96e788c7).
Submitting thread, by turns of 4 s standing (runs d41, d43):
- Two lock passes, off by default (`=1` on): slot writes past the heap's lock of placed views
(LEONIDA_SPANS_QUICK; Belobug a284ca7 via readmet3xt 96dfd9bb8, trustno1 #1937) and the
texture queue's lock spared by marks (LEONIDA_QUEUE_MARKS; readmet3xt-lab b377071). Here no
one waited for those locks: the submitting thread +0.12 to +0.30 ms a frame with them.
`crate::asked!` is `toggled!` off by default.
- 8 parts joined against 2 (LEONIDA_JOIN_PARTS_AB): with 8 the frame -3.09 +-0.51 and -3.03
+-0.26 ms, so the launcher's 8 stays. The write-watch asking joined across 8 MiB against
256 KiB (LEONIDA_ASK_GAP_KB, _AB): with 8 MiB the card -1.08 +-0.50 and -1.14 +-0.22 ms busy.
AI-assisted (Claude). Tested on an RTX 4060 Ti, driver 616.64: the named unit tests of each
port (shader 12, gpu 11, texback and resource 36), a warm-up start (the same three programs
refused as before, no device removed), the turns above and recorded tours.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/code_hooks_test.cpp')
0 files changed, 0 insertions, 0 deletions