shader: support VOP3P clamp on v_pk_add_f16, v_pk_mul_f16, and v_pk_fma_f16 #3289
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#3289
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-28 05:21 UTC · original
Refs #2935.
Admit VOP3P
CLAMPonv_pk_add_f16(0x0f),v_pk_mul_f16(0x10), andv_pk_fma_f16(0x0e) inDirectCompute::packed_f16_alu()(src/gfx1013_direct_compute.inl), saturating each rounded binary16 result half to[+0.0, 1.0]with-0.0 -> +0.0andNaN -> +0.0, while keeping VOP2v_pk_fmac_f16(0x3c) clamp and unused third-operand modifier bits refused.AI-assisted.