shader: lower packed FP16 add, multiply and fused multiply-add in direct DXIL #3147
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#3147
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?
@RonLogic on GitHub · 2026-11-27 18:20 UTC · original
Refs #2935 and #2022. I’ll take the direct DXIL VOP3P arithmetic slice. Source-built Pixel and Compute containers both reject the canonical
v_pk_add_f16,v_pk_mul_f16andv_pk_fma_f16forms at guest offset+0x18on429f11d5plus the separate min/max change #3146. #2930 is work on the HLSL frontend.Preserve independent half selection, round-to-nearest-even and the supported denormal mode. Let ADD and MUL reuse the existing binary16 rounding path. FMA needs a single half rounding, including cases where a rounded binary32 intermediate lands exactly on a binary16 midpoint. Use the earlier Xbox2Windows integer FMA contract and verify with original exact-rational cases, including a double-rounding control, sparse EXEC and both stage entry points. Unsupported mode or operand forms should retain explicit refusals.
The public shadPS4 packed FP16 report was observed at
34b35b526e3bfbb8a6f22c11035cb051174ac6f1on 2026-11-27, GPL-2.0. It is a capability reference. The instruction semantics and new implementation follow the AMD RDNA 2 ISA and Xbox2Windows tests.