diff options
| author | Dimitar Pavlov <360593571+azsekazvamdimitar@users.noreply.github.com> | 2026-11-25 23:17:18 +0200 |
|---|---|---|
| committer | Dimitar Pavlov <360593571+azsekazvamdimitar@users.noreply.github.com> | 2026-11-27 13:01:19 +0200 |
| commit | 2a191041ff08d61d4c26f7d0af07e16c0e7b65f6 (patch) | |
| tree | 4aa23db3225fdb97e84b94a8941994124611aa47 /runtime/src/xma2_decoder.cpp | |
| parent | 63185f4a35961916afbdc24b2ae989cbe88892be (diff) | |
d3d12: a console heap's V# words are fixed once a pass, not once a slot (RT-CONSOLE-VSHARP-MEMO)
The title writes the same words into thousands of slots of its console
descriptor heap, many of them data that reads as a V# into title memory
with no copy, and each fix_vsharp of those costs VirtualQuery calls: a
third of the submitting thread's time after the story load under Wine.
refresh_console_heap now keeps fix_vsharp's answers for the pass over the
copied slots and, separately, for the pass over the slots the changes
since the last submission touch, and drops them after each.
Retail boot, Proton, RTX 3090, 900 s: heap refresh after the story load
107.8 -> 18.8 ms a submission (max 5,332 -> 1,109), submissions after it
1,977 -> 2,527.
AI-assisted; tested under WineHQ 11.22 and GE-Proton11-14 on an RTX 3090
(NVIDIA 590.48.01).
Diffstat (limited to 'runtime/src/xma2_decoder.cpp')
0 files changed, 0 insertions, 0 deletions