Tests: add disasm_e2e multi-program RDNA2 scan and PC DXBC/DXIL cases #524
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!524
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-524"
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:17 UTC · original
amazedturnip:xcl/tests-disasm-e2e-containers-fssm-and-all-flag-011102→main· +66 −0 · 1 files · 1 commits · openAdd two remaining
xcl disasmend-to-end CLI tests incrates/xcl/tests/disasm_e2e.rsafter rebasing ontoupstream/main(which already covers--all, FSSM/XBCH export, and missing-argument paths).What is in it
crates/xcl/tests/disasm_e2e.rs: adddisasm_scans_multiple_rdna2_raw_programs(back-to-backs_endpgm-terminated RDNA2 blobs inrdna2-rawscan mode) anddisasm_classifies_pc_dxbc_and_dxil_containers(PCdxbc/SHEXanddxil/BC\xc0\xdecontainer classification), reusing the file's existingtemp_path,dxbc_container, andprogram_headerhelpersTested
AMD Radeon(TM) Graphics (driver 32.0.21043.19003, DXC 1.9.2609, native wave64),XCL_ADAPTER=radeon):cargo test -p xcl --test disasm_e2e -- --test-threads=2— 9 passed, 0 failed, 0 ignored (3x deterministic: 0.62s, 0.41s, 0.21s)Not tested
xcl disasmtest-only change; no runtimesrc/files modified)AI use
upstream/main, trimming superseded tests, running the 3x test verification locally on AMD Radeon (native wave64), and updating this description.@futurepro62 on GitHub · 2026-11-24 03:04 UTC · original
Tested exact head
a328c87(on its base508a0c7).Tested
cargo build --workspace, thenXCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4: 684 passed, 0 failed, 41 ignored. SKIPPED (no wave64):gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware.gpu_uma_import_check_at_init,gpu_typed_buffer_loads_and_stores,gpu_valu_16_and_64_bitandgpu_wave32_and_wave64_src_vccz_execz(the #344 deadlock, whichmainhas too and #443 fixes); I stopped it after 900 s and reran.Not tested
scripts/smoke.ps1(no title on this machine), AMD, wave64 hardware, a release build.AI use
@MesshM on GitHub · 2026-11-24 04:00 UTC · original
Test run of
a328c8751ac8ab63a239a18c7d087b4ea2cf9441on AMD RDNA4. I merged it onto currentmainf4ce27clocally (clean merge) and tested that tree.Tested
stable-x86_64-pc-windows-msvc, debugcargo build --workspace+cargo test --workspace -- --test-threads=4on the merge: 657 passed, 3 failed, 21 ignored, exit code 101; 0SKIPPEDplaced_title_textures_share_vram_and_preserve_pixels,transitions_apply_when_their_list_is_submitted,d32s8_targets_take_their_own_size_of_video_memory. These three also fail onmainf4ce27cwith no PR applied (cargo test -p xcl --lib -- --test-threads=4: 657 passed, 3 failed), so they are not from this change. The first isplaced_title_textures_share_vram_and_preserve_pixelsatcubemap extra_pages must be reused at same va; the other two arePoisonErrors from the lock it poisons (#673 addresses the cascade, #447 the cubemap check). It is intermittent: alone it passes 3 of 3, and in the parallel lib run it failed on 6 of 7 runs atf4ce27c, 2 of 6 atd852f9aand 1 of 3 at1387b4bon this machine.disasm_e2etests are incrates/xcl/tests/and pass.Review: Test-only; the containers it disassembles are built in the test (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.
@YYchainsAw on GitHub · 2026-11-24 14:56 UTC · original · edited 2026-11-25 02:48 UTC
Tested
xcl disasmon a synthetic 8-byte input with--offset 4 --length 4and confirmed it printed00000004: s_endpgm.cargo test --locked -p xcl --test disasm_e2eon main930e8b49c1c2ec683d22c724a398b39111cd0e56with the test file from PR commita328c8751ac8ab63a239a18c7d087b4ea2cf9441applied: 5 passed, 0 failed.Not tested
Full workspace suite, GPU tests, or any retail game files.
AI use
Codex (GPT-6) prepared the synthetic input, ran the automated test, and drafted this report. I ran the manual CLI check.
Update: Codex (GPT-6) reran cargo test --locked -p xcl --test disasm_e2e on the exact PR head fdfe5e9 on the same Windows machine. 8 passed, 0 failed, 0 ignored.
@DavidM1911 on GitHub · 2026-11-25 13:43 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!
@DavidM1911 on GitHub · 2026-11-26 02:46 UTC · original
Re-verification on RTX 3060 Ti (Windows 11), new head merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, 27 ignored. The earlier merge conflict is resolved.Thanks!
— Devin
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.