Avoid temporary submission-output clones #3673
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!3673
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3673"
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?
@masteraapjes on GitHub · 2026-11-30 03:31 UTC · original
masteraapjes:codex/submission-output-collection→main· +8 −4 · 1 files · 1 commits · openWhat it changes
Published and ordinary late submissions collect texture-back ranges and writes in separate traversals, locking each Deferred twice and cloning nonempty write vectors before flattening them. Collect both outputs under one per-list guard and append writes from the source slice. Preserve recordings, duplicates, list order and repeated submissions.
Rebuilt independently on upstream main
5fabb46eaf6ed8771321787f8871051abde69b9bto resolve the conflict after upstream history changed. Obsolete shared CI commits have been removed from the PR diff. Current upstream changes are retained.How it was tested
Windows, pinned Rust 1.98.1. Tested head:
f333157c4f207b7d91d07e838323a343562a2672.cargo test --locked -p victory-gpu --lib host::written_spans_tests:: -- --test-threads=1: 3 passed.cargo test --locked -p victory-gpu --lib picked::tests:: -- --test-threads=1: 2 passed.cargo test --locked -p victory-gpu --lib host::prelude_tests:: -- --test-threads=1: 1 passed.cargo clippy --locked -p victory-gpu --all-targets -- -D warningscargo clippy --locked -p victory-gpu --all-targets --all-features -- -D warningscargo run --locked --package xtask -- policy: 464 files passed.git diff --checkpassed.Current upstream CI blocker, independently reproduced on unmodified main
5fabb46e: bothcargo clippy --workspace --all-targets --locked -- -D warningsandcargo clippy --workspace --all-targets --all-features --locked -- -D warningsexit 101 with five errors inhost/font.rs:213/260,host/menu.rs:667andhost/panel.rs:602/668. Existing #4680 addresses these. No unrelated fixes or lint suppressions are carried here. This is not a claim that the latest CIcheckjob passed.CPU collection model only; its allocation/lock evidence does not establish a gameplay FPS benefit. Full GPU/workspace suites were not rerun. The full workspace test suite was not rerun for this conflict-resolution update. No game data is included.
Checked for overlap
@Trillazill on GitHub · 2026-11-30 05:16 UTC · original
Reviewed against
41adb551, and it looks right to me.texture_back_rangesandwriteseach come out inrunsorder as before. They're filled in one pass per list now, but into separate vectors, so neither order changes.extend_from_slicecopies the same(usize, _, _)tuples the oldclone()+flat_mapdid, without the per-list vector in between.deferred()guard per list is held only across the two extends, with no other lock taken inside, so there's no new lock ordering. It's also a single consistent snapshot of each list'sDeferred, where main took two.host.rs:5248and:9349/:9359already read through one guard.3e2f05a2):cargo clippy --locked -p victory-gpu --all-targets -- -D warningsreports nothing near the changed lines, andcargo test --locked -p victory-gpu --lib -- --test-threads=4 host::passes 215 (26 ignored).@dyshay on GitHub · 2026-11-30 05:49 UTC · original
Merged into our fork's integration branch for testing (dyshay/VIctory-NVIDIA, branch
janus-prs). I read the full diff first: no network access, process spawning, binaries, build or dependency changes, or game data. It builds with--profile diag --features diagnostics, and the CPU tests of the touched crates pass. A run on an RTX 4090 is queued (Series S with ray tracing, DLSS Quality). Frame times will follow here.e3da182510tof333157c4fView 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.