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

Closed
opened 2026-11-28 02:21:29 +00:00 by legacy-code-archaeologist · 0 comments
legacy-code-archaeologist commented 2026-11-28 02:21:29 +00:00 (Migrated from github.com)
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by legacy-code-archaeologist on 2026-11-28T02:21:29Z.


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 #3224'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, #3224.

AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6657712051 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/3258). Originally posted by [legacy-code-archaeologist](https://github.com/legacy-code-archaeologist) on 2026-11-28T02:21:29Z. --- 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 #3224'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, #3224. AI-assisted.
Sign in to join this conversation.
No labels
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.

Reference
R0Y00/Xbox2Windows#3258
No description provided.