diff options
| author | Gustavo Kissel <kisselgustavo@gmail.com> | 2026-11-23 14:43:57 -0300 |
|---|---|---|
| committer | Gustavo Kissel <kisselgustavo@gmail.com> | 2026-11-23 14:43:57 -0300 |
| commit | 4a7bfd5c4d86eb4cf6e63ff8fcbb508729d8a948 (patch) | |
| tree | 32ecba2f5b564ca18cffadfc467a2b49c05d05af /runtime/src/vulkan_aftermath.cpp | |
| parent | 5ba2a7f95fbd6db34a2a3efcbb9602f02b20c917 (diff) | |
xmem: map a run as one view per host placeholder it spans
After a partial unmap or remap, a run of consecutive pages can lie across several host placeholders, and
MEM_REPLACE_PLACEHOLDER needs the view to fill one placeholder exactly, so mapping the whole run again failed with
ERROR_INVALID_PARAMETER. map_view now maps one view per placeholder the run spans; a fresh window is still one view.
Found and fixed by dotaku22 in review; xmem_test gains their check (the whole run maps again over a split range).
Diffstat (limited to 'runtime/src/vulkan_aftermath.cpp')
0 files changed, 0 insertions, 0 deletions