Tests: verify Xbox shader container, FSSM, and pack parsing contracts #558
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!558
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-558"
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?
@amazedturnip on GitHub · 2026-11-24 01:47 UTC · original
amazedturnip:xcl/tests-xbox-container-and-pack-contract-014008→main· +374 −0 · 1 files · 1 commits · openAdd integration tests in
crates/xcl/tests/xbox_container.rscoveringxcl::gpu::packandxcl::gpu::xboxpublic parsing contracts, stage-name helpers, XDAT/XBCH/FSSM error and fallback paths, andis_data_blockboundaries.What is in it
crates/xcl/tests/xbox_container.rs: add integration tests coveringpack::scan/inflate/name_stage->xbox::is_xbox/parseroundtrips (MS/NGG and CS),hw_stage_name/api_stage_name/HwStage::label/Fssm::code_bytes/stage_label, XDAT-relative entry offsets, non-0x18 XDAT/zlib header offsets,DXIL_KINDSmapping,InstStats::merge/sorted,header_qwords, XBCH/FSSM error and fallback paths, andis_data_block.Tested
AMD Radeon(TM) Graphics (driver 32.0.21043.19003, DXC 1.9.2609, native wave64),XCL_ADAPTER=radeon):cargo test --workspace -- --test-threads=2— 685 passed, 0 failed, 41 ignored (SKIPPED GPU tests: none)Not tested
AI use
@fromthemoonx on GitHub · 2026-11-24 01:56 UTC · original
NVIDIA run, since Not tested lists NVIDIA wave32.
Tested
49e53e9c2d00eb6a8e37a70d91d8f472d9bb0dc7, clean worktreestable-x86_64-pc-windows-msvc; DXC 1.9.2602.17 (Windows SDK 10.0.26100.0); debugcargo build --workspace, thencargo test --workspace -- --test-threads=4: 685 passed, 0 failed, 41 ignored (lib 640 / 0 / 21;xbox_container5 / 0 / 0). Same totals as in the description.gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardwareXCL_SAMPLE_*not setNot tested
xbox_container.rsparse on the CPU and touch no GPU, so this run shows they pass with the MSVC toolchain. It adds no wave32 coverage for them.AI use
@MesshM on GitHub · 2026-11-24 04:54 UTC · original
Test run of
49e53e9c2d00eb6a8e37a70d91d8f472d9bb0dc7on AMD RDNA4. I merged it onto currentmain64b3f35locally (clean merge) and tested that tree.Tested
stable-x86_64-pc-windows-msvc, debugcargo build --workspace+cargo test --workspace -- --test-threads=4on the merge: 706 passed, 0 failed, 41 ignored, exit code 0;xcllib tests 660 passed, 0 failed, 21 ignoredSKIPPED; thexbox_containertests pass, as do thepacktests (bounded scans of hostile offsets included).Review: Test-only, with synthetic containers and no game data. I found nothing to change.
Not tested: no retail title or regression run (I have no unpacked game), no
XCL_SAMPLE_*tests, release build; the PR's head on its old base was not run, only its merge ontomain.Run and review by Claude Code (Claude Opus 5.5) on this machine; the review points were checked against the code.
@DavidM1911 on GitHub · 2026-11-25 13:30 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.