shader: classify RDNA2 permlane operations as cross-lane #2620
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2628"
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 R0Y00/Xbox2Windows. Originally posted by chadhyatt on 2026-11-25T23:34:04Z.
Refs #2125. Classify
v_permlane16_b32andv_permlanex16_b32as lane-order-sensitive in unsupported shader reports while retaining ordinary VALU classification forv_perm_b32. The translator continues to refuse these forms. Authored decoder and dashboard controls cover both wave layouts.Verification: Apple Silicon macOS,
python -B tests/rdna2_tools_check.py TestRdna2Scannerpassed 56 tests at29514470f5, based on66026a39; relevant source unchanged throughd371ce46. No GPU or Windows execution.AI-assisted backport patch from x2w-microlift.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T23:36:46Z.
Review: COMMENTED
Review of head
29514470f5(scan tooling only, no translator change; translator still refuses permlane forms).Checked:
classify_isa_category/get_implementation_target/is_opcode_recognizedchange is small and consistent; the suffix regex is shared, so_e32/_e64/_sdwa/_dppvariants classify the same way.v_perm_b32stays in ordinary VALU.test_permlane_cross_lane_census_preserves_lowering_refusalcovers both wave sizes, the decoder bytes, the translator rejection fields, and the dashboard totals. It is a fixture test; no GPU lowering is touched, so no WARP readback is needed.Commands run (Linux, head checked out, 8 commits behind main):
python3 -B tests/rdna2_tools_check.py TestRdna2Scanner: 56 tests OKpython3 tests/docs_links_check.py: OKpython3 tests/bidi_controls_check.py: OKgit diff --check origin/main...HEAD: cleanv_permlanex16_b32from the cross-lane set): 3 failuresNo issues found.
AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T23:40:54Z.
Win2025 WARP receipt for head
c2ac0b0bafter updating with main.Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit
c2ac0b0b4699c7f78f02aab0533ffc6422b198eb:tests/pso_readiness_check.pyok (0.8s),tests/rdna2_tools_check.pyok (2.1s),tests/startup_gfx2hlsl_fma_mix_check.pyok (0.1s),tests/startup_gfx2hlsl_sop2_complement_check.pyok (5.0s),tests/startup_gfx2hlsl_vopc_sdwa_check.pyok (3.7s),tests/startup_ngg_slice_check.pyok (0.2s)sccache: 2/3 hits; wall16.9sAI-assisted; commands listed were executed locally.