victory-gpu: O(log R) BlockRuns guard cache and fix VICTORY_D3D12_DRED=0 #685
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!685
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@Claudinhomerq on GitHub · 2026-11-25 04:29 UTC · original
Claudinhomerq:perf/watch-block-runs-and-dred→main· +264 −38 · 2 files · 1 commits · openSummary
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
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.