upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/main.cpp
diff options
context:
space:
mode:
authorMumogg <104529023+Mumogg@users.noreply.github.com>2026-11-23 20:46:46 -0600
committerMumogg <104529023+Mumogg@users.noreply.github.com>2026-11-23 20:46:46 -0600
commit74bf391fdae4e5d5c81314b8abe05412807d4f69 (patch)
tree62e870b3945bf9ead2a08c28a2e23fbdc4ca358d /runtime/src/main.cpp
parent1a04df0b1b8f8592009a3049948bdd057badcad9 (diff)
merge follow-up: the test tree builds again
- xmem.cpp: rt::xmem::commit_physical_range and commit_physical_pages exist for the run-mapped xmem too (pages are committed when allocated, so they only check the range), and main.cpp registers the slot 133 hook as main does. - vk_test_device.h: VK_EXT_external_memory_host and host_pointer_alignment are back next to the A8 render target probe; d3d12_existing_heap_test and d3d12_xmem_placed_test use them. - xs_proxy_mock_test.cpp: the stack's version, which tests the proxy that is in the tree (the automatic merge left two list mocks in one switch). - d3d12_xs_device.cpp: no include of vulkan_replay.h, which the proxy tests without Vulkan headers could not compile, and the diagnostic that needed it is gone. Every target builds with clang-cl 22.1.8 + xwin. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HxBQf4pXH8PWpC5oZsM4bt
Diffstat (limited to 'runtime/src/main.cpp')
-rw-r--r--runtime/src/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/src/main.cpp b/runtime/src/main.cpp
index 7d0dbfd88..63bd016e8 100644
--- a/runtime/src/main.cpp
+++ b/runtime/src/main.cpp
@@ -177,8 +177,7 @@ int wmain(int argc, wchar_t** argv) {
177 } 177 }
178 rt::d3d12_trace::set_enabled(trace_d3d12); 178 rt::d3d12_trace::set_enabled(trace_d3d12);
179 // Slot 133 imports the title's pages; xmem commits them on first touch, so they are committed first. 179 // Slot 133 imports the title's pages; xmem commits them on first touch, so they are committed first.
180 // MERGE NOTE: main registers rt::xmem::commit_physical_range here for its commit-on-touch xmem. This branch keeps 180 rt::d3d12_xs::set_placed_at_va_pages_hook(&rt::xmem::commit_physical_range);
181 // the run-mapped xmem (pages are committed when allocated), so there is nothing to commit before slot 133.
182 if (int trace_error = 0; !trace_file.empty() && !rt::startup_trace::open(trace_file.c_str(), &trace_error)) { 181 if (int trace_error = 0; !trace_file.empty() && !rt::startup_trace::open(trace_file.c_str(), &trace_error)) {
183 std::fprintf(stderr, trace_error == EEXIST ? "error: the trace file already exists; --trace only creates a new file\n" 182 std::fprintf(stderr, trace_error == EEXIST ? "error: the trace file already exists; --trace only creates a new file\n"
184 : "error: cannot create the trace file\n"); 183 : "error: cannot create the trace file\n");