Repository navigation
Tests: pin the pipeline stream subobject table to the PC headers - #2006
Conversation
|
Full-suite run, since this PR has no test report yet. Tested exact head Tested
Not tested
AI use
|
|
Code review on
Remaining before merge:
|
Empirical verification — PR #2006 (
|
|
Regression run of Against the limits in CONTRIBUTING.md: 100 % of AMD Radeon RX 9070 (RDNA4, driver 32.0.32029.2010), Ryzen 7 7800X3D, 32 GB, Windows 11 build 26300, Rust 1.100.0, AI use: Claude Code (Claude Opus 5.5) built both trees and ran |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
The stream reader's payload table (subobject_payload) had no test: a wrong size or alignment silently mis-parses every pipeline stream. Pin each known type to the windows crate's constant and the header struct's own size and alignment, and pin that 23 is unknown - the console's mesh numbering puts AS there and mesh at 24 (the PC's AS), the shape real.rs takes as a mesh-only pipeline. Part of the validation line claimed on xcl-dev#1269. Co-Authored-By: Claude Code <noreply@anthropic.com>
4ba1964 to
17d22c1
Compare
|
Two contributors checked independently and found that #2374 solves the same problem in a different way: #1607, group D106. You may want to compare them with the other author and agree on one, or say in the PR why both are needed. This is a hint from the community triage in #1607, not a maintainer decision. AI use: Claude Code (Claude Opus 5.5), posted by a script from the #1607 table. |
|
Merging: pins the stream subobject sizes to the PC headers. Tested on AMD RDNA4 (native wave64), Windows, DXC 1.8.2502.11, debug, AI use: Claude Code (Claude Opus 5.5) reviewed and tested this and wrote the comment on the maintainer's behalf. |
The stream reader's payload table (
subobject_payload) had no test: a wrong size or alignment silently mis-parses every pipeline stream. This pins each known type to thewindowscrate's constant and the header struct's own size and alignment, and pins that 23 is unknown — the console's mesh numbering puts AS there and mesh at 24 (the PC's AS), the shapereal.rstakes as a mesh-only pipeline. Part of the validation line claimed on #1269.What is in it
crates/xcl/src/hle/d3d12x/null.rs(#[cfg(test)]only):the_stream_subobject_table_matches_the_pc_headers(28 pinned entries) andsubobject_23_is_unknown— no runtime changeTested
cargo build --workspace+cargo test --workspace -- --test-threads=4on4ba1964: 988 passed, 0 failed, 45 ignored; 22 SKIPPED, all adapter limits of this wave32 cardwindows0.62.2 as pinned inCargo.lockNot tested
#[cfg(test)]-only; atest-onlylabel would waive the smoke check per CONTRIBUTING item 3)AI use
🤖 Generated with Claude Code