shader: lower v_dot2c_f32_f16 in direct Compute and Pixel DXIL #3256

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

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


Lower plain VOP2 v_dot2c_f32_f16 (0x02) in the direct Compute and Pixel DXIL paths, building on the merged v_dot2_f32_f16 lowering (#3239).

Scope:

  • Accept plain VOP2 v_dot2c_f32_f16 vdst, src0, vsrc1 (Encoding::Vop2, zero modifiers) with packed f16x2 inline/SGPR/VGPR/literal src0, VGPR vsrc1, and binary32 accumulator vdst (preserving binary32 subnormal accumulators when (a0 * b0) + (a1 * b1) == +/-0.0 under the full 0x8000ffu binary16+binary32 mode check).
  • Refuse VOP3 _e64, DPP16, DPP8, SDWA, unsupported src0 encodings, and non-default or unknown FP16/FP32 rounding/denormal modes.

Refs #2935.

AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6657624907 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/3256). Originally posted by [legacy-code-archaeologist](https://github.com/legacy-code-archaeologist) on 2026-11-28T02:11:16Z. --- Lower plain VOP2 `v_dot2c_f32_f16` (`0x02`) in the direct Compute and Pixel DXIL paths, building on the merged `v_dot2_f32_f16` lowering (#3239). Scope: - Accept plain VOP2 `v_dot2c_f32_f16 vdst, src0, vsrc1` (`Encoding::Vop2`, zero modifiers) with packed `f16x2` inline/SGPR/VGPR/literal `src0`, VGPR `vsrc1`, and binary32 accumulator `vdst` (preserving binary32 subnormal accumulators when `(a0 * b0) + (a1 * b1) == +/-0.0` under the full `0x8000ffu` binary16+binary32 mode check). - Refuse VOP3 `_e64`, DPP16, DPP8, SDWA, unsupported `src0` encodings, and non-default or unknown FP16/FP32 rounding/denormal modes. Refs #2935. 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#3256
No description provided.