Tests: XMA2 stream layouts from WAVEFORMATEX extradata #861
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!861
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-861"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@mastrr9 on GitHub · 2026-11-24 06:59 UTC · original
mastrr9:tests/xma2-extradata→main· +123 −0 · 1 files · 1 commits · openAdds 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
@SlopTart on GitHub · 2026-11-24 08:09 UTC · original
Linux / AMD RDNA3 datapoint.
Merged state: head
f128929onto main1ec4c98, clean merge.Full suite,
cargo test --workspace --release --no-fail-fast --target x86_64-pc-windows-gnu -- --test-threads=4: 711 passed, 7 failed, 41 ignored. Failures = the known Wine-lane set from my #42 rows - zero flakes in this lane. XMA2 stream-layout tests green - and note this lane had only the 7 stable Wine failures, zero flakes.Not tested: retail titles (none here), Windows, RDNA4.
Counts only, no game data.
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
x86_64-pc-windows-gnu,XCL_NETWORK=0, release profile,--test-threads=4. My Linux rows: #42 / #718.AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting.
@JJAutoCompare on GitHub · 2026-11-25 05:45 UTC · original
Empirical test report (
b09ce2c6)PR #861, Tests: XMA2 stream layouts from WAVEFORMATEX extradata. Tested commit
b09ce2c6fe691600df717096513a6df18e970fa2in a clean detached checkout.Hardware / environment
10.0.26200. AMD64 Family 23 Model 113 Stepping 0 (AuthenticAMD), 12 logical processors.rustc 1.100.0 (0ef1bc386 2026-11-09), hostx86_64-pc-windows-msvc. DXC1.9.2609.5 (01b62ad47).XCL_ADAPTER=NONE_CPU_ONLYandRUST_TEST_NOCAPTURE=1. Both commands ran outside the Arc test wrapper without acquiring its GPU mutex.Commands and results
cargo test --workspace --no-runexited 0 and built the workspace test executables.cargo test -p xcl --test xma2_extradata -- --nocaptureexited 0. 3 passed, 0 failed, 0 ignored, 0 skipped, 0 filtered out. Skip count is based on case-sensitiveSKIPPEDlines in the captured output.Observed behavior
xma2waveformatex_layoutsverified mono and stereo stream groupings, default layouts for empty extradata, and sample-rate pass-through with a 48 kHz default for a zero rate.invalid_extradata_is_errverified rejection of malformed XMA1 and XMA2 extradata and checked valid legacy XMA2 stream entries.random_extradata_never_panicschecked 3,000 seeded inputs against the XMA1 and XMA2 parsers. Accepted layouts satisfied stream and channel invariants and could initialize the CPU decoder.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
pr861-focused.logand published.@DavidM1911 on GitHub · 2026-11-25 10:15 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.