upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/vk_queue_query_sync_test.cpp
diff options
context:
space:
mode:
authorJan Trencansky <jan.trencansky@protonmail.com>2026-11-24 20:09:14 -0500
committerJan Trencansky <jan.trencansky@protonmail.com>2026-11-24 20:09:14 -0500
commit6fdeadfe509f37203317a967bf28e57fc75676b2 (patch)
treec4d837eca0be726489f24e01fbbe14c6d5d420f4 /runtime/test/vk_queue_query_sync_test.cpp
parentf2268abeadb9c57f675c43805a622d5e43628739 (diff)
parent1d89b20c5f26f1078b50fef7e2c9cd5fbe2372d6 (diff)
Merge main with #984 into RT-QUEUE31 (#968)
Merges the local m984-on-main (1d89b20c5f26f1078b50fef7e2c9cd5fbe2372d6), main with #984 merged, into #968's head f2268abea. Conflicts and their resolutions: - runtime/shims/xmem.h: both sides appended to the end of rt::xmem. Kept geometry_aliases and transfer_physical from #984 and appended #968's CopyPageMappingsFn typedef and the inline copy_page_mappings_fn after them. - runtime/shims/xmem.cpp: copy_page_mappings and the self-registering g_copy_page_mappings_set stay right after XMemMapPhysicalPagesScatter, followed by #984's shadows_write_watch. One-line port: #984's g_mapped stores the page number itself (HostUnorderedMap<uintptr_t, uint64_t>), so `it->second.page` becomes `it->second`. - runtime/shims/d3d12_xs_device.cpp: - includes: #968's "xmem.h" beside "d3d12_trace.h", then #984's includes; - constants: #984's block kept, kQueueCopyPageMappingsBatchX = 31 added after kQueueExecuteCommandListsX and its static_assert; - the slot-31 section (ConsolePageRange/Batch, copy_console_page_range, queue_copy_page_mappings) goes after #984's queue_execute_command_lists and before the "PresentX is at queue slot 30" comment; - child_slot: #984's queue block kept; the slot-31 dispatch (beyond the PC table and with xmem's hook set) goes just before the qroutes lookup, ahead of the presentation routes and the console-only S_OK tail. Newer-layout PresentX is 32, so 31 does not clash. - runtime/test/xs_proxy_mock_test.cpp: - includes: "../shims/xmem.h" beside #984's d3d12_xs_frame_events.h; - #984's descriptor-heap and later checks kept, check_queue_copy_page_mappings after them. Without xmem the merged proxy answers slot 31 with the console-only S_OK, so that check's `== E_NOTIMPL` becomes `== S_OK` (and its summary line says so); - main: `|| check_queue_copy_page_mappings()` appended after check_presentation_wiring(). runtime/test/xmem_test.cpp merged without conflict: test_copy_page_mappings runs after test_physical_pages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/vk_queue_query_sync_test.cpp')
0 files changed, 0 insertions, 0 deletions