victory-gpu: O(log R) BlockRuns guard cache and fix VICTORY_D3D12_DRED=0 #685
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/685"
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 Claudinhomerq on 2026-11-25T04:29:19Z.
Summary
O(log R)
BlockRunsinterval map for guarded clean blocks (crates/victory-gpu/src/watch.rs)Guards::clean: BTreeSet<usize>withBlockRuns(disjoint, maximally merged half-open[start, end)intervals).Vec<usize>.writes()so guaranteed-to-failGetWriteWatchkernel calls are skipped when the range is already covered byBlockRunsor knownprotected/absentblocks (respectingVICTORY_GUARD_ASK=1).watch::tests::block_runs_merge_split_and_skip_clean_ranges.Respect
VICTORY_D3D12_DRED=0(crates/victory-gpu/src/host.rs)dred_on()previously checked.is_some(), which kept DRED active even when explicitly set toVICTORY_D3D12_DRED=0. Now checks.is_some_and(|v| v != "0").Verification
cargo xtask policy—asset policy: 169 files okcargo test -p victory-gpu --lib -- watch::tests—7 passed; 0 failedView 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.