shader: classify RDNA2 permlane operations as cross-lane #2628
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!2628
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/2628/head"
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?
@chadhyatt on GitHub · 2026-11-25 23:34 UTC · original
chadhyatt:backport/permlane-reporting→main· +67 −1 · 3 files · 2 commits · merged 2026-11-25 23:41 UTCRefs #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.
@tedin7 on GitHub · 2026-11-25 23:36 UTC · original · reviewed
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.
@tedin7 on GitHub · 2026-11-25 23:40 UTC · original
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.