diff options
| author | NotRexed <therealnothingfn@gmail.com> | 2026-11-26 02:13:40 -0500 |
|---|---|---|
| committer | NotRexed <therealnothingfn@gmail.com> | 2026-11-26 02:13:40 -0500 |
| commit | e660e3d2bb1efb8fd9fa42e2f87ad035220be40d (patch) | |
| tree | ac2e60f6dc8e89f3eecf0368d30f20c754abe5e6 /runtime/src | |
| parent | 0d09c5d92f5b955c62ecba743f439955f2b27303 (diff) | |
title_memory.h: sparse is the default
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src')
| -rw-r--r-- | runtime/src/title_memory.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/src/title_memory.h b/runtime/src/title_memory.h index 55b2f7983..1a4387bfc 100644 --- a/runtime/src/title_memory.h +++ b/runtime/src/title_memory.h | |||
| @@ -37,7 +37,7 @@ | |||
| 37 | // one that starts inside a block another holds is refused, and from 64 MiB on one must start on a 2 MiB line. The | 37 | // one that starts inside a block another holds is refused, and from 64 MiB on one must start on a 2 MiB line. The |
| 38 | // retail title's 32-bit windows lie side by side on 1 MiB lines, so imports that share a block are merged. | 38 | // retail title's 32-bit windows lie side by side on 1 MiB lines, so imports that share a block are merged. |
| 39 | // | 39 | // |
| 40 | // Sparse title memory (LEONIDA_TITLE_MEMORY=sparse, opt-in; SparseTitleMemory in shims/d3d12_vulkan_device.cpp, | 40 | // Sparse title memory (the default: the imports path lost the device on the title; LEONIDA_TITLE_MEMORY=imports opts out; SparseTitleMemory in shims/d3d12_vulkan_device.cpp, |
| 41 | // docs/d3d12_vulkan.md section 3.3): sparse buffers over both windows at heap_base + VA, xmem's physical-page pools | 41 | // docs/d3d12_vulkan.md section 3.3): sparse buffers over both windows at heap_base + VA, xmem's physical-page pools |
| 42 | // imported once each (in 256 MiB pieces) and every mapped page a sparse bind of its VA to its pool's import, every | 42 | // imported once each (in 256 MiB pieces) and every mapped page a sparse bind of its VA to its pool's import, every |
| 43 | // unmapped page bound to nothing (it reads zero), the title's other GPU memory imported once per range and bound at its | 43 | // unmapped page bound to nothing (it reads zero), the title's other GPU memory imported once per range and bound at its |