shader: lower v_cvt_f16_u16, v_cvt_f16_i16, v_cvt_u16_f16 and v_cvt_i16_f16 in the direct compute path #3150
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows#3150
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@legacy-code-archaeologist on GitHub · 2026-11-27 18:22 UTC · original
Taking the four binary16 <-> 16-bit integer VOP1/VOP3 conversion instructions in the direct C++ compute path (Refs #2935):
v_cvt_f16_u16,v_cvt_f16_i16(round-to-nearest-even viapacked_half_rne, optional VOP3clampsaturating binary16 to[0.0, 1.0])v_cvt_u16_f16,v_cvt_i16_f16(truncate toward zero, saturate to[0, 65535]/[-32768, 32767],NaN -> 0, VOP3abs/neg)Both VOP1 and VOP3A forms preserve
D[31:16], check the default binary16 rounding/denormal MODE contract, refuse unsupported DPP/SDWA/op_sel/omod/modifiers, and will be verified withnative_compute_ir_dump(ir),compile_dxil(controls), andnative_store_replay(hardware, expected skip77on Quadro M1000M).AI-assisted.
github-bot referenced this issue2026-11-27 19:20:26 +00:00