Repository navigation
Conversation
Check the stream layouts built from real XMA2WAVEFORMATEX extradata, sample-rate pass-through, errors instead of panics for every bad field and length, and seeded random extradata. Assisted-by: Claude Code (Claude Opus 5.5)
f128929 to
b09ce2c
Compare
|
Linux / AMD RDNA3 datapoint. Merged state: head Full suite, Not tested: retail titles (none here), Windows, RDNA4. Machine: RX 7900 XT (RADV NAVI31), Mesa 26.2.5, kernel 7.2 (Arch), Proton Experimental (wine-11.0), patched vkd3d-proton v3.1, Rust cross AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting. |
Empirical test report (b09ce2c)PR #861, Tests: XMA2 stream layouts from WAVEFORMATEX extradata. Tested commit Hardware / environment
Commands and results
Observed behavior
Not tested The full GPU workspace suite and game smoke runs were omitted. The focused tests exercise extradata parsing and decoder construction. AI use Verified with T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high). Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
Nothing has happened on this PR for 3 days, so it is marked |
|
No open or merged PR adds the same tests. #2032 changes StreamConfig::from_xma2_wfx to accept mixed stereo/mono layouts. The layouts asserted here (e.g. 7 channels with NumStreams 0 -> [2,2,2,1]) and the invalid cases give the same result with or without #2032, so the two do not conflict. Test-only. No problems found in the diff. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
Adds a test-only suite (
crates/xcl/tests/xma2_extradata.rs) verifyingXMA2WAVEFORMATEX/XMA2WAVEFORMATextradata parsing, stream channel layouts, and malformed header handling.Tested
617.42/32.0.16.1742), Windows 11 Pro 25H2 (26200.9974),rustc 1.100.0 (0ef1bc386 2026-11-09)MSVC debug, DXC Windows SDK10.0.26100.0,d3d12SDKLayers.dllinstalledf12892939e57f74ffe7b621f814cbf1e0e8c3ebdcargo build --workspace: clean (no new warnings; only pre-existingfetch_updatedeprecation warning)cargo test --workspace -- --test-threads=4: 716 passed, 0 failed, 41 ignored (xma2_extradata: 3 passed, 0 failed, 0 ignored)SKIPPEDGPU tests:gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask: no wave64,gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware: no wave64Not tested
crates/xcl/tests/xma2_extradata.rs); no runtime code changed and no retail title run performed.AI use