fix(gpu): restore !busy check in slot_evict #2173
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2173"
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 qlfu on 2026-11-29T10:14:18Z.
Summary
Rebased onto
v2026.11.29.02(1082df39, cleanly merges ontomaincec481f4). Since1b4b6cd4restoredHost::fetch_buffershrinking upstream, this PR now contains only the remaining unmerged fix:!busycheck inresource::slot_evictso textures whose descriptor slots were busy being rebuilt on another thread are not evicted concurrently (also eliminates theunused variable: busywarning incrates/victory-gpu/src/resource.rs).Verification
cargo +1.98.1-x86_64-pc-windows-msvc clippy -p victory-gpu --lib --no-deps --locked: 0 new warnings.git merge-tree --write-tree origin/main pr/fix-merge-regressions: exit 0 (clean merge ontocec481f4).0 WARNs / 0 ERRORs).Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Dukestar69 on 2026-11-29T10:24:06Z.
Review: APPROVED
Tested locally merged onto
main(829188e9).host.rsandresource.rs, resolving both the unusedbusyvariable inslot_evictand the unusedHost::fetch_bufferwarning onmain.cargo test -p victory-gpu --lib resource::passed.cargo test -p victory-gpu --lib descriptor::passed (102 passed; 0 failed; 2 ignored).Important regression fix restoring the
!busyguard inslot_evictandHost::fetch_bufferstep-down. LGTM.Synthetic tests only (no game files used). AI-assisted (Gemini 4 Neon).
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by dyshay on 2026-11-29T13:05:12Z.
Merged into our fork's integration branch for testing (dyshay/VIctory-NVIDIA, branch
janus-prs, on top of829188e9plus a couple of local fixes). Read the full diff first: no network, process spawning, binaries, build/CI/dependency changes or game data. Builds with--profile diag --features diagnostics; clean cherry-pick, and it removes 4 clippy warnings on our side. In-game runs on an RTX 4090 (Series X 1440p and Series S, DLSS Quality) are queued; frame times and a picture comparison will follow here.View 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.