shader: admit remaining lowered VOP1/VOP2 SDWA profiles #3339
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3339"
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 romn4rch on 2026-11-28T11:18:39Z.
Change
Admit exactly the nine integer/bit and three floating-point SDWA profiles already lowered for direct compute, while preserving graphics SDWA refusals.
Fixes #3303.Verification
ctest --preset dev --no-tests=error -R '^native_sdwa_profiles_(ir|dxil|hardware)$' -V -j 1— passed, 3/3 tests.git diff --check— passed.Evidence and follow-up
The fixture generates synthetic SDWA instruction encodings using existing repository test helpers; no external samples or third-party assets are included. The experiment note records the scope and reproduction command:
docs/experiments/native-sdwa-lowered-vop1-vop2.md. Hardware evidence is limited to this adapter and fixture.AI-assisted change.
Checklist
Imported from R0Y00/Xbox2Windows. Originally posted by Leyukaka on 2026-11-28T19:30:01Z.
Review: APPROVED
GPU review of
af399162.mainf2972840with this PR and 17 other open PRs merged locally:native_sdwa_profiles_ir,_dxiland_hardwarepass, with the hardware leg running (no skip). Removingv_sin_f32from the compute float profiles makes all three fail.Not covered: sub-dword selects on
mul_hi_*,sat_pkandsin; clamp/omod on the three float ops;sub_co_ciwith carry-in 1 and its VCC carry-out.Approve.