A half kept by v_fma_mixlo_f16 and replaced by v_fma_mixhi_f16 is refused as its old input (barycentrics; 79 shaders) #375
Labels
No labels
accessibility
bug
claimed
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
tester report
urgent
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LakshanSivakumar--Native-Victory-macOS#375
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?
@tiagonogueiraa-bit on GitHub · 2026-11-27 14:30 UTC · original
The largest pixel class in #4's list: "barycentrics read directly" covers 146 pixel shaders in a 12,020-shader corpus (Series S, boot to the menus, main
905e7aa). Many of them, plus some refused for "the first half of an interpolation", have a false dependency.The shape.
v_fma_mixlo_f16 v1, ...writes the low half and keeps the high half of a register that still holds a barycentric input (or an interpolation's first half). Thenv_fma_mixhi_f16 v1, ...replaces that high half, andexp ... comprwrites the pair.Why it is refused. The mix lowering already records the low half (
low16) and marks the value unknown. Butv_fma_mixhi_f16refuses the unknown value, though it keeps only the low half.Plan.
v_fma_mixhi_f16take the low half fromlow16.@tiagonogueiraa-bit on GitHub · 2026-11-27 14:30 UTC · original
/claim
@github-actions[bot] on GitHub · 2026-11-27 14:30 UTC · original
Claimed by @tiagonogueiraa-bit. Open a draft pull request with
Refs #372in its description within 24 hours, or the claim expires.@tiagonogueiraa-bit on GitHub · 2026-11-27 14:35 UTC · original
Widened to the other order too (
v_fma_mixhi_f16first, thenv_fma_mixlo_f16). #377 now gains 91 shaders (90 pixel, 1 vertex) with no regressions; 2 shaders now name the other unknown half.github-bot referenced this issue2026-11-27 15:21:54 +00:00
@LakshanSivakumar on GitHub · 2026-11-28 00:35 UTC · original
Thank you. Both orders of v_fma_mixlo_f16 and v_fma_mixhi_f16 are followed now (#377, on main). Your sweep showed 79 shaders gained for the first order and 91 for both together, no regressions. Two pixel shaders now name another unknown half ("the first half of an interpolation"), so this class is not finished; I am not sure it is fully fixed. I did not see these pixel shaders draw in the game. Closing this one; please open a new issue for the 2 that remain.
github-bot referenced this issue2026-11-28 18:04:48 +00:00