diff options
| author | NotRexed <therealnothingfn@gmail.com> | 2026-11-29 04:38:09 -0500 |
|---|---|---|
| committer | NotRexed <therealnothingfn@gmail.com> | 2026-11-29 04:38:09 -0500 |
| commit | 5844b64813cd97d1262f584155cc3f76c3e584ae (patch) | |
| tree | a68cf0f23f5120d4b2482c49cd47d50b535bacfa /runtime/src/main.cpp | |
| parent | c553782c81a71964140d787fb05e2fdbf35a6273 (diff) | |
| parent | 54b2a81e95c470c953ddee6177fd6255cbaf041d (diff) | |
Merge remote-tracking branch 'origin/main' into next
Diffstat (limited to 'runtime/src/main.cpp')
| -rw-r--r-- | runtime/src/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/src/main.cpp b/runtime/src/main.cpp index 37ce6656c..f44eb2535 100644 --- a/runtime/src/main.cpp +++ b/runtime/src/main.cpp | |||
| @@ -547,6 +547,8 @@ int wmain(int argc, wchar_t** argv) { | |||
| 547 | leonida::kernel_writes::set_committer(&rt::xmem::commit_physical_range); | 547 | leonida::kernel_writes::set_committer(&rt::xmem::commit_physical_range); |
| 548 | rt::d3d12_xs::set_texture_page_provider(&rt::xmem::pin_mapped_data); | 548 | rt::d3d12_xs::set_texture_page_provider(&rt::xmem::pin_mapped_data); |
| 549 | leonida::kernel_writes::set_unguarder(&rt::xmem::reopen_unowned); | 549 | leonida::kernel_writes::set_unguarder(&rt::xmem::reopen_unowned); |
| 550 | // The first call of a forwarded device slot names its caller as module+offset (RT-526). | ||
| 551 | rt::d3d12_xs::set_device_slot_caller_formatter(&rt::shims::module_offset); | ||
| 550 | if (int trace_error = 0; !trace_file.empty() && !rt::startup_trace::open(trace_file.c_str(), &trace_error)) { | 552 | if (int trace_error = 0; !trace_file.empty() && !rt::startup_trace::open(trace_file.c_str(), &trace_error)) { |
| 551 | std::fprintf(stderr, trace_error == EEXIST ? "error: the trace file already exists; --trace only creates a new file\n" | 553 | std::fprintf(stderr, trace_error == EEXIST ? "error: the trace file already exists; --trace only creates a new file\n" |
| 552 | : "error: cannot create the trace file\n"); | 554 | : "error: cannot create the trace file\n"); |