Repository navigation
Conversation
2b0aca7 to
b7c894d
Compare
|
Tested Independently reran the pinned xcl library test executable for Both native processes exited 0. Total was 2 passed, 0 failed, 0 ignored, 0 skipped. Slots 45, 77, and 82 each occurred once in the production console device slot table and matched their typed handlers. Calls through those entries returned Not tested Live vtable adoption, COM devices, undocumented slot 82 output ABI, GPU, title smoke, and the workspace suite. AI use T3 Code through Codex ( |
b7c894d to
1c4e27f
Compare
…sibly Device xcl-dev#45 and xcl-dev#77 (a resource whose planes and metadata sit at separate GPU addresses, with the PC or the console resource desc) and xcl-dev#82 (a performance-counter set) were logging stubs that returned S_OK without writing their out pointer, so a title went on with whatever its out variable held. They now return E_NOTIMPL with one log line each; xcl-dev#45 and xcl-dev#77 also null their out pointer (the last of their seven arguments). xcl-dev#82's out pointer position is not known, so nothing is written there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Assisted-by: Codex (exact model unavailable)
1c4e27f to
ca739fb
Compare
|
No open or merged PR maps device slots #45, #77 or #82. The author's related device-slot PRs (#3135 for #83-#126, #3136 for the *1 / *2 resource methods, #3144 for #124) cover other slots. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
|
Review (head ca739fb, diff read, not a merge-check; draft,
Fine: logged once per slot, and the slot numbers don't collide with existing device slots. AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point. |
Status: a guess that needs evidence before it can be merged. Which methods device slots #45, #77 and #82 are, and where their out pointers are is reasoned from how titles call the API and from the PC's D3D12; it is not taken from any console documentation, and no title has confirmed it yet. Draft until then.
Evidence that would confirm it: on
mainthis slot is a logged stub, so a title that calls it showsID3D12Device::#45inxcl.logand inreport.json's stubs; anXCL_D3D12_TRACE=1run of such a title shows its arguments (and#77,#82). The retail game used for the regression run does not get there.If you run a title that gets there, please post those lines here (not the whole log, which names your paths).
Device #45 and #77 create a resource whose planes and metadata sit at separate GPU addresses: #45 takes the PC resource desc, #77 the console desc. Device #82 creates a performance-counter set. All three were logging stubs that returned S_OK without writing their out pointer, so a title carried on with whatever its out variable held. They now fail visibly with E_NOTIMPL.
What is in it
device_x.rscreate_resource_at_planes_x(Sparse VRAM: async ring-buffered uploads, cached write-watch ranges, and coherent headroom #45) andcreate_resource_at_planes_console_desc_x(xnetworking: fail closed on cert verification errors and malformed pin metadata #77): E_NOTIMPL, with a null written through the out pointer (the last of their seven arguments).device_x.rscreate_counter_set_x(gpu/adapter: fall back to numeric model token when index is out of range #82): E_NOTIMPL. Where its out pointer sits is not known, so nothing is written.Each logs one line per slot. They are wired in
real.rs's device console slots.Other unwired device slots (#46/#47 views with the console view desc, #59 default MSAA parameters, #68 GPU hardware configuration) are left as they are. Their argument layout could not be confirmed here, and no title on this PC calls them.
Tested
NVIDIA RTX 2070 SUPER (driver 32.0.16.2140), AMD Ryzen 5 3600XT, Windows 11 build 26300, Rust 1.100.0 MSVC; tests in debug
Rebased onto
main309c3ec5(main's MSAA test fix) on 2026-11-28.cargo build --workspace && cargo test --workspace --no-fail-fast -- --test-threads=4onb7c894d5: 2143 passed, 0 failed, 48 ignored; 25 SKIPPED (21no wave64, 3 refused gpu: direct RDNA2 -> DXIL backend (no HLSL / DXC), behind XCL_DIRECT_DXIL #1426 forms, 1no heap windows).New test
device_x::tests::unmodelled_object_creators_return_e_notimpl_and_a_null_object: ok. It tests the new functions.Regression run
RTX 2070 SUPER, the retail game, 60 s,
XCL_PRESS_AT=25:A,XCL_PREPARE=0(no startup shader preparation), release builds, one queue job (main, then #3161) with the same starting DXIL cache for every run.main:This PR's head:
Not tested
A title that calls Sparse VRAM: async ring-buffered uploads, cached write-watch ranges, and coherent headroom #45, xnetworking: fail closed on cert verification errors and malformed pin metadata #77 or gpu/adapter: fall back to numeric model token when index is out of range #82: none on this PC. The retail game calls none of them, so the smoke run does not reach this code.
The regression runs skip startup shader preparation (
XCL_PREPARE=0), onmainand on this PR alike.AMD GPUs.
AI use
Claude Code, Claude Opus 5.5 (earlier steps of this session ran on Claude Sonnet 5.5): wrote the code, the test and this description; ran the tests.
Claude Code (Claude Opus 5.5) rebased it onto
main309c3ec5, ran the suite and the regression runs and updated this description.🤖 Generated with Claude Code