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

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

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

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 (#3241).

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.

**@⁠legacy-code-archaeologist** on GitHub · 2026-11-28 02:11 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/3256) 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 (#3241). 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 02:14:14 +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#3258
No description provided.