Tests: DXBC signatures, PSV0 and shader packs #854
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/860"
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?
Imported from ivall/xcl. Originally posted by mastrr9 on 2026-11-24T06:59:29Z.
Adds a test-only suite (
crates/xcl/tests/shader_dxbc_pack.rs) testingxcl::gpu::dxbcsignature parsing (ISGN/ISG1/OSGN/OSG1),PSV0metadata extraction, and shader pack serialization/round-tripping on synthetic inputs.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.dllinstalled6060e730a85db1bfac87d136e8604aa6345dd386cargo build --workspace: clean (no new warnings; only pre-existingfetch_updatedeprecation warning)cargo test --workspace -- --test-threads=4: 722 passed, 0 failed, 41 ignored (shader_dxbc_pack: 9 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/shader_dxbc_pack.rs); no runtime code changed and no retail title run performed.AI use
#[ignore]test to comply withCONTRIBUTING.md), and verified on native Windows/RTX 5080 hardware with Antigravity (Gemini 4 Neon + Claude Sonnet 5.5).Imported from ivall/xcl. Originally posted by SlopTart on 2026-11-24T08:09:23Z.
Linux / AMD RDNA3 datapoint.
Merged state: head
6060e73onto main1ec4c98, clean merge.Full suite,
cargo test --workspace --release --no-fail-fast --target x86_64-pc-windows-gnu -- --test-threads=4: 717 passed, 7 failed, 41 ignored. Failures = the known Wine-lane set from my #42 rows - zero flakes in this lane. DXBC signature/PSV0/shader-pack tests green (717 passed).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.
Imported from ivall/xcl. Originally posted by JJAutoCompare on 2026-11-25T05:50:54Z.
Empirical test report (
3e08b6bb)Hardware / environment
Invoke-ArcTest.ps1, with no Arc GPU mutex held.rustc 1.100.0 (0ef1bc386 2026-11-09)and DXC1.9.2609.5 (01b62ad47). Cargo used the unoptimized test profile, with debug info and incremental compilation disabled.Commands and results
cargo test --workspace --no-runexited 0 and built the workspace test executables. The compiler emitted a deprecation warning forAtomicU32::fetch_updateinxgameruntime.XCL_ADAPTER=NONE_CPU_ONLYandRUST_TEST_NOCAPTURE=1,cargo test -p xcl --test shader_dxbc_pack -- --nocaptureexited 0. The log reported 9 passed, 0 failed, 0 ignored, and 0SKIPPEDlines.Observed behavior
Not tested
AI use
Verified with T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high). Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against
pr860-focused.logand published.Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T10:16:39Z.
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: 1038 passed, 1 failed in one parallel run; the failing test passes on a single-threaded rerun (1039/0). Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.Thanks!
Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-29T20:40:48Z.
Nothing has happened on this PR for 3 days, so it is marked
staleand will be closed in 4 days. A push or a comment takes the mark off: rebase it ontomainif it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T04:20:28Z.
Triage (#1607) – head
3e08b6bThe gpu::pack part (scan, inflate, name_stage) overlaps with the pack cases in #558 (crates/xcl/tests/xbox_container.rs). The DXBC signature and PSV0 tests are not covered by any open or merged PR. The red CI is an unrelated lib test (list_x::tests::mid_list_write64_wait64_split_avoids_cycle_and_reuses_spares). Because that test failed first, CI never ran shader_dxbc_pack.rs. Test-only.
Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.