xshader: fuse v_fma_mixlo/mixhi_f16 rounding (#40) #99

Closed
github-bot wants to merge 1 commit from gh-pr/99/head into gh-pr/99/base
Owner

@⁠Trwthh on GitHub · 2026-11-22 09:13 UTC · original
Trwthh:fix/40-fma-mix-fused → main · +108 −2 · 3 files · 102 commits · closed without merging

Summary

  • v_fma_mixlo_f16 and v_fma_mixhi_f16 now compute with a single fused round-to-f16 (tb_fma16 when all three sources f16, tb_fma_rto for mixed-precision)
  • Fixes the WARP 0x887a0005 device-removed error caused by double-rounding
  • Adds exact-vector exec tests and 3M randomized f16 FMA check

Fixes #40

Test plan

  • cargo test -p tombox-xshader passes, including new fma_mix and randomized f16 cases
  • WARP device no longer removed on mixed-precision FMA shaders
**@⁠Trwthh** on GitHub · 2026-11-22 09:13 UTC · [original](https://github.com/omonkeyz/xbox-emulator/pull/99) `Trwthh:fix/40-fma-mix-fused` → `main` · +108 −2 · 3 files · 102 commits · closed without merging ## Summary - `v_fma_mixlo_f16` and `v_fma_mixhi_f16` now compute with a single fused round-to-f16 (`tb_fma16` when all three sources f16, `tb_fma_rto` for mixed-precision) - Fixes the WARP 0x887a0005 device-removed error caused by double-rounding - Adds exact-vector exec tests and 3M randomized f16 FMA check Fixes #40 ## Test plan - `cargo test -p tombox-xshader` passes, including new fma_mix and randomized f16 cases - WARP device no longer removed on mixed-precision FMA shaders
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 06:10:25 +00:00
github-bot closed this pull request 2026-11-26 06:10:25 +00:00
Author
Owner

@⁠omonkeyz on GitHub · 2026-11-22 13:13 UTC · original

Main's history was rewritten, which auto-closed this PR (sorry for the noise). Already on main with equivalent code (b72625c), so nothing is left to apply. Thanks for the fix!

**@⁠omonkeyz** on GitHub · 2026-11-22 13:13 UTC · [original](https://github.com/omonkeyz/xbox-emulator/pull/99#issuecomment-7079650626) Main's history was rewritten, which auto-closed this PR (sorry for the noise). Already on main with equivalent code (b72625c), so nothing is left to apply. Thanks for the fix!

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.