Repository navigation
Conversation
…_by (fxceless#168, fxceless#89) Two synchronization gaps in `blocked_by` under `VICTORY_LATE_WAIT` and `VICTORY_RELAY=2` (orthogonal to fxceless#191): 1. `expand_rects` (`crates/victory-gpu/src/draw.rs`) reads title vertex memory `[from, from + n * 3 * stride)` on the CPU at submission, but deferred the step with `HostList::defer_host` (`Step::Host`), which `blocked_by` ignores. Under `VICTORY_LATE_WAIT`/`VICTORY_RELAY`, a rect draw reading vertices produced by an in-flight shader could run before the copy-back landed. 2. `blocked_by` (`crates/victory-gpu/src/host.rs`) returned `Some(WHY_READ)` on the first matching copy/fill/texture step without scanning later steps for `Step::Run(_)`. Under `VICTORY_RELAY=2`, `WHY_READ` waits only until `blocked_by` clears rather than settling all flights, whereas `Step::Run(_)` requires a full `WHY_RUN` settle. Add `Step::HostRead` / `HostList::defer_host_read`, switch `expand_rects` to use it, and scan all steps in `blocked_by` so `WHY_RUN` takes precedence over an earlier `WHY_READ`. Add `host::relay_tests::blocked_by_steps_checks_host_read_and_prioritizes_run`.
VlREX
added a commit
to VlREX/victory-fork
that referenced
this pull request
Nov 25, 2026
…B testing Original contributions: gdawid9407 (fxceless#191) and AscilCH (fxceless#206, fxceless#207). Preserve credits and source commits in docs/virex-world-geometry-recovery.md. Resolve overlapping host hazard checks without changing upstream PRs. Native validation pending; AI-assisted integration.
VlREX
added a commit
to VlREX/victory-fork
that referenced
this pull request
Nov 25, 2026
[Integration test only] World Geometry Recovery: combine fxceless#191, fxceless#206, fxceless#207
RecompLive
pushed a commit
to RecompLive/victory-fork
that referenced
this pull request
Nov 25, 2026
…-local Media: a share is refused however it is spelled
oceansde012
pushed a commit
to oceansde012/victory-gta6
that referenced
this pull request
Nov 25, 2026
…-local Media: a share is refused however it is spelled (cherry picked from commit 5d1fbac)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Related to #168 and #89; orthogonal to #191 (which covers aliased
Step::Refresh, textureread_backs, andLate::Write).Two remaining gaps in
blocked_byunderVICTORY_LATE_WAITandVICTORY_RELAY=2:expand_rectsCPU title-memory reads invisible toblocked_by(crates/victory-gpu/src/draw.rs,crates/victory-gpu/src/host.rs):expand_rectsreads title vertex memory[from, from + n * 3 * stride)on the CPU at submission, but scheduled the closure withdefer_host(Step::Host), whichblocked_byignores.VICTORY_LATE_WAIT/VICTORY_RELAY=2could expand the stale title-memory bytes before copy-back landed.WHY_READshort-circuiting ahead ofStep::Run(crates/victory-gpu/src/host.rs):blocked_byreturnedSome(WHY_READ)on the first matching read step without scanning the remaining steps inrunsforStep::Run(_).VICTORY_RELAY=2,why == WHY_READtakes the selectiverelay_waitpath (waiting only untilline.writtenclears) instead ofself.settle(..., WHY_RUN)(which settles all flights, including flights without shader writes, ahead of aStep::Run).Fix
Step::HostRead(usize, usize, Box<dyn Fn() + Send>)andHostList::defer_host_readincrates/victory-gpu/src/host.rs.expand_rectsincrates/victory-gpu/src/draw.rsfromdefer_hosttodefer_host_read(from as *const u8, n * 3 * stride, ...).blocked_by/blocked_by_stepsto checkStep::HostReadagainstwrittenand continue scanning forStep::Run(_)soWHY_RUNtakes precedence overWHY_READ(without double-countingLATE_STATS).host::relay_tests::blocked_by_steps_checks_host_read_and_prioritizes_run.Verification
cargo test -p victory-gpu --locked -- --test-threads=1: 111 passed, 0 failedcargo xtask policy: 169 files okcargo clippy -p victory-gpu --all-targets --locked -- -D warnings: cleancargo clippy -p victory-gpu --all-targets --all-features --locked -- -D warnings: clean(AI-assisted; synthetic unit test only, no game data.)