shader: lower v_dot2_f32_f16 in direct Compute and Pixel DXIL #3240

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

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

Direct Compute and Pixel DXIL translation (src/gfx1013_direct_compute.inl) does not yet lower v_dot2_f32_f16 (VOP3P 0x13).

v_dot2_i32_i16 and v_dot2_u32_u16 are already lowered, and v_dot2_f32_f16 is present in src/gfx1013_isa_tables.inl and tools/pixel_aot.py. Lowering v_dot2_f32_f16 in DirectCompute::float_alu() (supporting op_sel[1:0], op_sel_hi[1:0], neg_lo[2:0], neg_hi[1:0], clamp, binary16 inline constants on src0/src1, binary32 src2, and FP16 MODE tracking via half_binary) expands #2935 direct translation coverage.

AI-assisted.

**@⁠legacy-code-archaeologist** on GitHub · 2026-11-28 01:09 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/3238) Direct Compute and Pixel DXIL translation (`src/gfx1013_direct_compute.inl`) does not yet lower `v_dot2_f32_f16` (VOP3P `0x13`). `v_dot2_i32_i16` and `v_dot2_u32_u16` are already lowered, and `v_dot2_f32_f16` is present in `src/gfx1013_isa_tables.inl` and `tools/pixel_aot.py`. Lowering `v_dot2_f32_f16` in `DirectCompute::float_alu()` (supporting `op_sel[1:0]`, `op_sel_hi[1:0]`, `neg_lo[2:0]`, `neg_hi[1:0]`, `clamp`, binary16 inline constants on `src0`/`src1`, binary32 `src2`, and FP16 `MODE` tracking via `half_binary`) expands #2935 direct translation coverage. AI-assisted.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 01:13:38 +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#3240
No description provided.