A half kept by v_fma_mixlo_f16 and replaced by v_fma_mixhi_f16 is refused as its old input (barycentrics; 79 shaders) #372
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?
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by tiagonogueiraa-bit on 2026-11-27T14:30:37Z.
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.Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by tiagonogueiraa-bit on 2026-11-27T14:30:38Z.
/claim
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by github-actions[bot] on 2026-11-27T14:30:55Z.
Claimed by @tiagonogueiraa-bit. Open a draft pull request with
Refs #372in its description within 24 hours, or the claim expires.Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by tiagonogueiraa-bit on 2026-11-27T14:35:05Z.
Widened to the other order too (
v_fma_mixhi_f16first, thenv_fma_mixlo_f16). #374 now gains 91 shaders (90 pixel, 1 vertex) with no regressions; 2 shaders now name the other unknown half.Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by LakshanSivakumar on 2026-11-28T00:35:37Z.
Thank you. Both orders of v_fma_mixlo_f16 and v_fma_mixhi_f16 are followed now (#374, 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.