Copy-back: skip zero mask bytes a word at a time #1094
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!1094
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1094"
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?
@gmankab on GitHub · 2026-11-25 19:19 UTC · original
gmankab:contrib/fx-mask-runs→main· +102 −1 · 1 files · 1 commits · draftback_piecescans the changed-byte mask to find the runs it will write back to title memory. A mask with scattered GPU writes can spend most of that scan stepping through zeros. Rayane’s change skips eight zero bytes at a time and emits the same runs as the original byte scan. The commit carries the original author.The FX shadow suite passed 30 tests with zero failures. The ignored benchmark also ran separately. On the Xeon E5-2670 v3, the FX build measured the following throughput in its 64 KiB mask scan.
The original KLBF branch’s randomized correctness test passed under the same environment. The timings above measure the mask scan, and title frame times still need a paired run.
Based-on: https://github.com/PastiiJay/klbf-lab/pull/26
Tested-on: Xeon E5-2670 v3, Fedora Linux 45 x86_64, Wine in the Victory Flatpak with DRM hidden
Assisted-by: gpt-6.2 sol xhigh
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.