GPU: order page remaps with queued work and copy-back #1140
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1143"
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 fxceless/victory-fork. Originally posted by Lkxex on 2026-11-25T21:33:20Z.
A page remap can overtake queued GPU work and redirect pending copy-back into the replacement backing. Queue the remap with earlier work, settle pending GPU writes before changing the backing, and keep queue and fence references alive until their deferred work completes. This includes the Windows placeholder prerequisite and the regression fixture.
All source changes are by NotADonky43, who posted the implementation and tests in #1131 and the placeholder fix in #824. The commit retains that authorship.
Independent Windows validation on code-identical base
c36971b: 8 queue tests, 14 XMem tests and the synthetic D3D12 readback test passed. The D3D12 debug layer was unavailable on this machine. The base advanced to9c184b3with a README-only change.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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.