Repository navigation
Conversation
Add GPU execution and DXC compilation tests in `crates/xcl/tests/gpu_recomp_dpp_sdwa.rs` covering RDNA2 DPP16, DPP8, and SDWA modifiers across `wave64`, `split-wave64`, `wave32`, and `wave32@hw64`. Assisted-by: Antigravity (Gemini 4 Hydrogen)
|
Full-suite run, since this PR has no test report yet. Tested exact head Tested
Not tested
AI use
|
|
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. #1620, #1778 and #858 have a few DPP/SDWA encodings in wider test suites, and main has some DPP cases in AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
Add an integration test suite in
crates/xcl/tests/gpu_recomp_dpp_sdwa.rscovering RDNA2DPP16,DPP8, andSDWA(includingVOPCVOP_SDWA_SDST_ENC) translation, DXC compilation, and GPU execution.What is in it
crates/xcl/tests/gpu_recomp_dpp_sdwa.rs(4 tests, 1,117 lines):dpp_sdwa_translate_and_compile_with_dxc: verifies RDNA2 to HLSL translation and DXC compilation for DPP16, DPP8, SDWA, and VOPC SDWA test shaders.gpu_dpp16_controls_masks_and_fetch_inactive: executes DPP16 controls, masks, and fetch-inactive handling on the GPU.gpu_dpp8_permutations_and_fetch_inactive: executes DPP8 permutations and fetch-inactive handling on the GPU.gpu_sdwa_selectors_unused_modifiers_and_vopc: executes SDWA selectors, unused-lane modes, modifiers, andVOPC(VOP_SDWA_SDST_ENC, including verifyingwave32preserves the upper 32 bits0xDEAD_BEEFofs[10:11]viaS_MOV_B32 s16, s11).Tested
32.0.32029.2010;AMD Radeon(TM) Graphicsdriver32.0.21045.29003also present), AMD Ryzen 7 9800X3D 8-Core Processor, Microsoft Windows NT 10.0.26300.0,rustc 1.100.0 (0ef1bc386 2026-11-09)(stable-x86_64-pc-windows-msvc), debug build,dxcompiler 1.8.2502.11(C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64).$env:XCL_REQUIRE_GPU="wave64,mesh"; .\scripts\test.ps1: 755 passed, 0 failed, 41 ignored across 20 test suites, 0 GPU skips (xcllib: 707 passed, 0 failed, 21 ignored;gpu_recomp_dpp_sdwa: 4 passed, 0 failed, 0 ignored;e2e: 3 passed, 0 failed, 0 ignored;console_shaders: 3 passed, 0 failed, 4 ignored;heap_probe: 0 passed, 0 failed, 4 ignored;xg_oracle: 6 passed, 0 failed, 12 ignored; allXCL_SAMPLE_*unset).$env:XCL_REQUIRE_GPU="wave64,mesh"; cargo test -p xcl --test gpu_recomp_dpp_sdwa: 4 passed, 0 failed, 0 ignored.rustfmt --check H:\XCL_1\crates\xcl\tests\gpu_recomp_dpp_sdwa.rs: passed (exit 0).cargo clippy -p xcl --test gpu_recomp_dpp_sdwa -- --no-deps: 0 warnings incrates/xcl/tests/gpu_recomp_dpp_sdwa.rs.python -m unittest discover -s H:\XCL_1\scripts -p "test_*.py" -v: 9 passed, 0 failed.Regression run
Not required (changes are confined to
crates/xcl/tests/gpu_recomp_dpp_sdwa.rs).Not tested
XCL_SAMPLE_*environment variables unset; no local game folder available).AI use
crates/xcl/tests/gpu_recomp_dpp_sdwa.rs, ran the test suite and linters, and prepared this PR.