shader: lower v_pk_fmac_f16 in direct Compute and Pixel DXIL #3260

Closed
opened 2026-11-28 02:28:13 +00:00 by github-bot · 0 comments
Owner

@⁠legacy-code-archaeologist on GitHub · 2026-11-28 02:21 UTC · original

Lower plain VOP2 v_pk_fmac_f16 (0x3c) in the direct Compute and Pixel DXIL paths, unblocking the direct DXIL lowering for v_pk_fmac_f16 refusal in #3226's compute shader census.

Scope:

  • Accept plain VOP2 v_pk_fmac_f16 vdst, src0, vsrc1 (Encoding::Vop2, zero modifiers) via fused_half_rne on both halves, supporting packed f16x2 inline/SGPR/VGPR/literal src0, VGPR vsrc1, and in-place f16x2 accumulator vdst, gated by the full 0x8000ccu binary16 mode contract.
  • Refuse VOP3 _e64, DPP16, DPP8, SDWA, unsupported src0 encodings, and non-default or unknown binary16 rounding/denormal modes.

Refs #2935, #3226.

AI-assisted.

**@⁠legacy-code-archaeologist** on GitHub · 2026-11-28 02:21 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/3258) Lower plain VOP2 `v_pk_fmac_f16` (`0x3c`) in the direct Compute and Pixel DXIL paths, unblocking the `direct DXIL lowering for v_pk_fmac_f16` refusal in #3226's compute shader census. Scope: - Accept plain VOP2 `v_pk_fmac_f16 vdst, src0, vsrc1` (`Encoding::Vop2`, zero modifiers) via `fused_half_rne` on both halves, supporting packed `f16x2` inline/SGPR/VGPR/literal `src0`, VGPR `vsrc1`, and in-place `f16x2` accumulator `vdst`, gated by the full `0x8000ccu` binary16 mode contract. - Refuse VOP3 `_e64`, DPP16, DPP8, SDWA, unsupported `src0` encodings, and non-default or unknown binary16 rounding/denormal modes. Refs #2935, #3226. AI-assisted.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 02:28:13 +00:00
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/R0Y00--Xbox2Windows#3260
No description provided.