Repository navigation
Conversation
A console stream numbers its subobjects differently above type 22 (23 AS, 25-29 options and limits, 100-102 the PC's DEPTH_STENCIL2 / RASTERIZER1 / 2), and XCL parses with the PC table. Log (at most 16 lines) each stream that has a type above 22: the type sequence, SizeInBytes and whether the sum of the 8-aligned subobject sizes matches it under the PC and the console table. This is to confirm the numbering on a title's real streams. Parsing results are unchanged and streams with only types up to 22 do not allocate. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
#3151 contains this PR's commit because it is stacked on it, so this is not a duplicate. No other PR adds this logging. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
|
merge-check AI-written and posted by Foniass without a human check of each point. |
Help wanted: evidence. This PR only measures and changes no behaviour; it is the first step for the console-layout guesses. Please run a title on this head and post
D3D12.X: pipeline stream uses subobject types above 22: types [...], SizeInBytes ..., sum ... (console table, ...) / ... (PC table, ...)(at most 16 lines, always on) here (not the whole log). #3151 is stacked on this and assumes what it is meant to confirm. The retail game logs none of these lines in 60 s, so we need other titles, mesh-shader titles above all.A console stream numbers its subobjects differently above type 22 (23 AS,
25-29 options and limits, 100-102 the PC's DEPTH_STENCIL2 / RASTERIZER1 / 2),
and XCL parses with the PC table. Log (at most 16 lines) each stream that
has a type above 22: the type sequence, SizeInBytes and whether the sum of
the 8-aligned subobject sizes matches it under the PC and the console table.
This is to confirm the numbering on a title's real streams. Parsing results
are unchanged and streams with only types up to 22 do not allocate.
What is in it
crates/xcl/src/hle/d3d12x/null.rs: +21 / -0crates/xcl/src/hle/d3d12x/real.rs: +87 / -0new tests:
console_stream_sizes_add_up_under_the_console_table_only,pc_only_stream_adds_up_under_both_tablesTested
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=4on71a90238(built onmain336fddda; it merges into the currentmaine429936cwithout conflict): 2124 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.console_stream_sizes_add_up_under_the_console_table_only: ok in that runpc_only_stream_adds_up_under_both_tables: ok in that runRegression run
Both 60-second runs used the same warm DXIL cache directory.
Not tested
Full preparation. The smoke runs used
XCL_PREPARE=0.Diagnostic only: no behaviour change. The retail game's log has 0 "unknown subobject type" lines and 40 "mesh pipeline ... in the AS slot - refused" lines (type 24, covered by D3D12.X: a console MS in the AS slot is translated as the mesh shader it is #541 / D3D12.X: a console MS at subobject 24 is the stream's MS #630).
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.
patch-worker on Claude Sonnet 5.5 (self-reported); reviewed by 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