shader: lower v_madmk_f32 and v_madak_f32 in direct Compute and Pixel DXIL #3251
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#3251
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 01:46 UTC · original
DirectCompute::float_alu()(src/gfx1013_direct_compute.inl) lowersv_mad_f32,v_mad_legacy_f32,v_mac_f32, andv_mac_legacy_f32, whilev_madmk_f32(VOP2 0x20:S0 * K + S1) andv_madak_f32(VOP2 0x21:S0 * S1 + K) — already decoded with trailing literal support insrc/gfx1013_compute_native.cpp— remain unlowered.Lowering
v_madmk_f32andv_madak_f32in theunfused_madpath (with input/product/addend/sum FTZ and separatefmul+faddwith no FMA contraction, matching #3005) finishes unfused f32 multiply-add coverage in both direct Compute and Pixel DXIL (#2935).Refs #2935
Refs #3005
AI-assisted.