queue: flights that may write pages land before a page-mapping copy remaps them #631
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/631"
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 trustno1-coder/VIctory-NVIDIA. Originally posted by KhryptorGraphics on 2026-11-28T02:05:47Z.
Ported from Steenax6/VIctory-NVID (GPL-3.0), commit 20315a5, plus one switch of that fork's open-world work. One of a series of ports from sibling forks (#618 to #622).
What changes
CopyPageMappingsBatchX, flights in the air whose shaders may write the batch's addresses land first (host::land_before_remap). Landed after the remap, their writes went to the pages mapped in their place.VICTORY_LAND_BEFORE_REMAP=0turns it off; the source fork has no off switch.VICTORY_REMAP_SYNC=1(off by default). Runs the queues' line before a page-mapping copy. Under the launcher set it withvictory play --set VICTORY_REMAP_SYNC=1.The source fork's texture-slot change (a slot shows a new texture only after its upload ran) is not in this PR: this tree already has its own form of it.
Verification
cargo check -p victory-gpu --target x86_64-pc-windows-msvc --testspasses, with and without--features diagnostics, with no new warnings. This was a cross-check from Linux.No test is added; the source has none for this function.