revert(shader): undo #2279's fma NaN result selection #2584
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2584"
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 boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-10T07:03:00Z.
Reverts #2279, as agreed with adriadam10.
Why
Since #2279,
agc_driver_f32_arithmetic_nanfails on NVIDIA under Windows on every run (#2581):v_fmamk_f32returns a quiet NaN where the signalling one is expected. The reporter measured 0/5 on main and 5/5 with #2279 reverted. CI's Windows job has no Vulkan driver, so the AGC execution tests skip there and it didn't show.What
A revert of the #2279 merge. One conflict:
v_fma_legacywas rewritten as a split multiply and add after #2279, so that rewrite is kept and it gets back the invalid-product argument tonanResultF32that it passed before #2279. #2279'sVectorFmaNanResulttest goes with it.Tested
tools/check_conventions.pypasses.agc_driver_f32_arithmetic_nanon lavapipe.Fixes #2581
Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-10T07:21:11Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)core/shader/recompiler/Translation/include/Translation/TranslationContext.hppL65