diff options
| author | hardly-relevant <185992244+hardly-relevant@users.noreply.github.com> | 2026-11-30 02:18:04 +0200 |
|---|---|---|
| committer | hardly-relevant <185992244+hardly-relevant@users.noreply.github.com> | 2026-11-30 23:23:00 +0200 |
| commit | f85d1790a7d625ee79370d6a560b8eb2e67564ee (patch) | |
| tree | 63870c73951de5361997224b7189efbdef653054 /runtime/test/clzero_patch_test.cpp | |
| parent | 0b6e0e3bc4539a3322aff09a86a8f6eab2aa26d2 (diff) | |
d3d12: exclude write-combined sub-ranges from mixed copy-back (D3D12-WC-SUBRANGE-NO-BACK)
Register write-combined sub-ranges (`asked & 0x400 != 0`) in
`XMemVirtualAlloc`'s `MEM_REPLACE_PLACEHOLDER` path (so split
placeholders such as the 32-bit graphics heap's `0x1404`/`0x8404`/
`0x2404` parts are tracked), resolve allocation span on `MEM_RELEASE`
(`len == 0`) in `watch::title_memory_freed` so split sub-ranges are
forgotten on release, and add opt-in `LEONIDA_WC_SUBRANGE_NO_BACK`
(off by default; `LEONIDA_AB`-switchable) in `Shadow::gpu_writes` to
subtract qualifying write-combined sub-ranges after `GPU_READ_ONLY`
on mixed card copies without hot-path heap allocations.
Diffstat (limited to 'runtime/test/clzero_patch_test.cpp')
0 files changed, 0 insertions, 0 deletions