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:
Diffstat (limited to 'runtime/src/main.cpp')
-rw-r--r--runtime/src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/src/main.cpp b/runtime/src/main.cpp
index f01997775..7e5e751c4 100644
--- a/runtime/src/main.cpp
+++ b/runtime/src/main.cpp
@@ -393,6 +393,8 @@ int wmain(int argc, wchar_t** argv) {
393 leonida::kernel_writes::set_committer(&rt::xmem::commit_physical_range); 393 leonida::kernel_writes::set_committer(&rt::xmem::commit_physical_range);
394 rt::d3d12_xs::set_texture_page_provider(&rt::xmem::pin_mapped_data); 394 rt::d3d12_xs::set_texture_page_provider(&rt::xmem::pin_mapped_data);
395 leonida::kernel_writes::set_unguarder(&rt::xmem::reopen_unowned); 395 leonida::kernel_writes::set_unguarder(&rt::xmem::reopen_unowned);
396 // The first call of a forwarded device slot names its caller as module+offset (RT-526).
397 rt::d3d12_xs::set_device_slot_caller_formatter(&rt::shims::module_offset);
396 if (int trace_error = 0; !trace_file.empty() && !rt::startup_trace::open(trace_file.c_str(), &trace_error)) { 398 if (int trace_error = 0; !trace_file.empty() && !rt::startup_trace::open(trace_file.c_str(), &trace_error)) {
397 std::fprintf(stderr, trace_error == EEXIST ? "error: the trace file already exists; --trace only creates a new file\n" 399 std::fprintf(stderr, trace_error == EEXIST ? "error: the trace file already exists; --trace only creates a new file\n"
398 : "error: cannot create the trace file\n"); 400 : "error: cannot create the trace file\n");