diff options
| author | NotRexed <therealnothingfn@gmail.com> | 2026-11-29 03:05:39 -0500 |
|---|---|---|
| committer | NotRexed <therealnothingfn@gmail.com> | 2026-11-29 03:05:39 -0500 |
| commit | 01d7f7f70a04402517252b238cc74696e2a17c3f (patch) | |
| tree | f3744c616472d5b3b388484e660629db4b35f303 /runtime/src/pe_loader.cpp | |
| parent | bb6c88b6727c8baff896945be18a260422959f4f (diff) | |
Copy-back leaves out memory the console has the GPU read only; slots keep no extra reference
XMemVirtualAlloc reads the console's GPU bits of each protection: memory the GPU reaches
without writing it (PAGE_GRAPHICS_NOACCESS, _READONLY, _EXECUTE, _EXECUTE_READ: three
parts of the title's 32-bit graphics heap, 38 MB) is told to leonida-gpu
(title_memory_gpu_read_only). Shader writes declared over it can be nothing on the
console, so Shadow::gpu_writes leaves those parts out of what is kept, compared, fetched
and landed (LEONIDA_GPU_READ_ONLY_NO_BACK, on; 0 as before). Standing at the waterside on
an RTX 4060 Ti: 1,340 MB a frame were declared there, and in turns of 3 s (23 phases)
the frame was 0.76 +-0.72 ms shorter without them (means 1.29 +-0.79). The frame line
counts both. Tests: gpu_read_only_parts_of_a_range, gpu_read_only_protections.
HostHeap::keep_ref: a slot that already holds the resource takes no reference. The
callers cloned it first and it was given back at once: two atomic changes of a count
every list thread changes (keep and the COM counts were 9 % of the list threads'
samples).
LEONIDA_BATCH_DESCRIPTORS (off): a table's listed-view copies in one CopyDescriptors
call, after PL-VIP/sureVI 60cc6e4 (GPL-3.0). In turns of 3 s (66 phases) the frame was
the same (-0.01 +-0.31 ms), no device lost: the list threads have room (43 % of their
samples wait), so it stays off. docs/findings.md: the list threads' profile.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions