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:
authorMoonEyes <ducoinbenjamin@yahoo.fr>2026-11-29 09:10:05 +0100
committerGitHub <noreply@github.com>2026-11-29 09:10:05 +0100
commit02c3ef96d197ff759398a5d373c0ce02b688f6a5 (patch)
treecfa4ecc2e23a38d5189680dc9572796fb776ac1d /runtime/src/main.cpp
parent0cbee763dcfbc88ee18c087f834a54e371b6ba94 (diff)
parent94ba78348ee98b2ae7271eeb218d2f4befc2a714 (diff)
Merge pull request #1390 from Diegobecker07/old-9990-slot-caller
d3d12_xs: the first call of a forwarded device slot names its caller (OLD-9990, RT-526)
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 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");