Repository navigation
Conversation
|
No open or merged PR handles device #92-#95, #109, #110, #112, #128 or #129. #3135 (same author) remaps the non-resource slots of the same runs and does not overlap. #3161 covers #45/#77/#82 only. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
…e console's descriptions The console device has the PC's newer device methods at fixed distances from their PC slots (xcl-dev#86, xcl-dev#108 and xcl-dev#127 are handled there already). Its resource and heap variants fell into the console-extension stub, which answers S_OK with the out pointer untouched, so a title got a NULL resource or heap, or no size, back: xcl-dev#92 CreateCommittedResource1 xcl-dev#93 CreateHeap1 xcl-dev#94 CreateReservedResource1 xcl-dev#95 GetResourceAllocationInfo1 xcl-dev#109 CreateCommittedResource2 xcl-dev#110 CreatePlacedResource1 xcl-dev#112 GetCopyableFootprints1 xcl-dev#128 CreatePlacedResource2 xcl-dev#129 CreateReservedResource2 Each now hands its console description to the console method of its base form (xcl-dev#27, xcl-dev#28, xcl-dev#30, xcl-dev#25, xcl-dev#29, xcl-dev#38): a DESC1's first 0x38 bytes are the console resource desc, a barrier layout becomes the state it starts in (as xcl-dev#127 / xcl-dev#133), and a protected session or castable formats are dropped. xcl-dev#95 shares xcl-dev#108's per-description loop, with its own stride (0x38 rather than 0x48). The identities are from a console API audit; no log yet shows a title calling these. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
172b0bd to
00754f8
Compare
|
Thanks for the review. Rebased onto — Claude Code (Claude Opus 5.5), on behalf of the PR author |
|
Follow-up review (head 00754f8, since 172b0bd, diff read, not a merge-check; draft, checks red):
New: none. 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 resource / heap methods device slots #92-#95, #109, #110, #112, #128 and #129 are, and that they take the console's resource description 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::#92inxcl.logand inreport.json's stubs; anXCL_D3D12_TRACE=1run of such a title shows its arguments (and the other slots); a desc whose bytes read as the console's resource desc, not the PC's, confirms it. 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).
The console device has the PC's newer device methods at fixed distances from their PC slots
(#86, #108 and #127 are handled there already). Its resource and heap variants fell into the
console-extension stub, which answers S_OK with the out pointer untouched, so a title got a NULL
resource or heap, or no size, back:
#92 CreateCommittedResource1 #93 CreateHeap1 #94 CreateReservedResource1
#95 GetResourceAllocationInfo1 #109 CreateCommittedResource2 #110 CreatePlacedResource1
#112 GetCopyableFootprints1 #128 CreatePlacedResource2 #129 CreateReservedResource2
Each now hands its console description to the console method of its base form (#27, #28, #30,
#25, #29, #38): a DESC1's first 0x38 bytes are the console resource desc, a barrier layout
becomes the state it starts in (as #127 / #133), and a protected session or castable formats are
dropped. #95 shares #108's per-description loop, with its own stride (0x38 rather than 0x48).
The identities are from a console API audit; no log yet shows a title calling these.
What is in it
crates/xcl/src/hle/d3d12x/device_x.rs: +84 / -1crates/xcl/src/hle/d3d12x/real.rs: +60 / -0new tests:
newer_allocation_info_reads_each_description_at_its_strideTested
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
cargo test --workspace --no-fail-fast -- --test-threads=4on172b0bd6(built onmain336fddda; it merges into the currentmaine429936cwithout conflict): 2123 passed, 9 failed, 48 ignored, 25SKIPPEDlines (21 no wave64, 3 gpu: direct RDNA2 -> DXIL backend (no HLSL / DXC), behind XCL_DIRECT_DXIL #1426, 1 no heap windows).The 9 failures are the ones
mainhas (3e2etitle tests and 6 split-wave64 GPU tests, main e429936 on NVIDIA: 3 e2e title tests and 6 split-wave64 GPU tests fail since #2959 #3093:main336fdddagives 2122 passed, 9 failed, 48 ignored); the set of failing tests is identical to it.newer_allocation_info_reads_each_description_at_its_stride: ok in that run; fails without the changeRegression run
Both 60-second runs used the same warm DXIL cache directory.
Not tested
Full preparation. The smoke runs used
XCL_PREPARE=0.A title creating resources through VFS hooks: the guard keeps the thread's last error #92-XGameSave: reject empty container name in XGameSaveDeleteContainer #95, D3D12: check device removal before using GPU readbacks #109, hle/opus: honor Ogg Opus EOS granule trimming and pre-skip #110, Expand bounded GPU compatibility coverage #112, Recompiler: f16 add / sub / fma rounded once under a directed mode (#… #128, Frame clock: each frame its own origin, ancillary handles outlive the… #129: none is in the retail game's log.
CreateCommandList1 (hle/acphal: fix APU range overflow/overlap, SHAPE rollback, and XApuConnect OOM #90) and CreateSampler2 (D3D12.X: non-overlapping video-memory arenas; command queue #18 befor… #130) are not here (they need console list / heap handling); MS and GS programs translate with the title's memory windows #124 is its own PR.
AMD and Intel GPUs; wave64 hardware (the RTX 2070 SUPER is wave32).
AI use
Codex (exact model name unavailable) verified the queued smoke results and drafted this description update.
Claude Code, Claude Opus 5.5: the code and tests. The description and the test / suite runs: Claude Code, Claude Sonnet 5.5 and Claude Opus 5.5.
🤖 Generated with Claude Code