Repository navigation
Tests: pin the pipeline stream subobject table to the PC headers - #2006
Open
brandostrong wants to merge 1 commit into
Open
brandostrong wants to merge 1 commit into
brandostrong wants to merge 1 commit into
Conversation
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>
|
Full-suite run, since this PR has no test report yet. Tested exact head Tested
Not tested
AI use
|
Member
|
Code review on
Remaining before merge:
|
Empirical verification — PR #2006 (
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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