gpu(queue): release dynamic descriptor table slots in submit_split #40
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/40"
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 Androtim/MiniVI. Originally posted by Androtim on 2026-11-28T11:35:17Z.
Summary
Port
trustno1-coder/VIctory-NVIDIA1d3b414(fxceless/victory-forkPR#1320) intocrates/victory-gpu/src/queue.rs:crate::list::tables_done(&lists[..cut])afterhost.execute(&now)insubmit_splitso immediately executed (non-detached) command lists return their fresh descriptor tables' dynamic slots before the title resets them, matchingsubmit_cut.Rig Specs Tested On
Run Settings & Profile
diag(--features diagnostics --release, used forverify-world.ps1+ PNG capture) and plainrelease@9947381(offorigin/mainf3c0c33)series-soffDLSS quality(VICTORY_DLSS=1,VICTORY_DLSS_MODE=quality)offVICTORY_*Overrides:verify-world.ps1default preset (play.rs SETTINGS+VICTORY_D3D12_DRED=light,VICTORY_CAPTURE_WORLD=1). Note:submit_splitis theVICTORY_CUT_WAITS=0/VICTORY_ASYNC_SUBMIT=0fallback path; the default runtime verification exercisesbehind/submit_cutend-to-end as a regression check.75sin-world >=500 draws/frame)Measurements & Verification
10.9 fpsmedian (91.7 ms/frame,9.5–11.9 fpssteady balcony,9.71 fpsmean,1.5 fpsmin at world transition) vs8.9 fpsbaseline (+2.00 fps,diagbuild)off5838 MBmax /5816.5 MBmedian vs6939 MBbudget (0 MBover,8.3%room=false;-26 MBvs baseline5864 MB)0crashes,0host texture errors,final_waiting=1487vs7121baseline (-5634),mapped()stall rate33.5 ms/s,24captured world PNGs (19/24lit, median luma105.51,0.0%near-black/magenta,edge_energy=7.0; visually inspectedframe-7747.pngandframe-8669.png), ALL 11/11verify-world.ps1gates PASScargo +1.98.1-x86_64-pc-windows-gnu run -p xtask -- policy(asset policy: 294 files ok)cargo +1.98.1-x86_64-pc-windows-gnu test -p xtask(6 passed; 0 failed)cargo +1.98.1-x86_64-pc-windows-gnu clippy --workspace --all-targets -- -D warnings(0warnings)cargo +1.98.1-x86_64-pc-windows-gnu clippy --workspace --all-targets --features victory-gpu/diagnostics -- -D warnings(0warnings)cargo +1.98.1-x86_64-pc-windows-gnu test -p victory-gpu --lib -- --test-threads=1(448 passed; 0 failed; 36 ignored)cargo +1.98.1-x86_64-pc-windows-gnu build -p victory --release+objdump -p(zero non-system MinGW DLL imports) andcargo +1.98.1-x86_64-pc-windows-gnu build -p victory --features diagnostics --releaseImported from Androtim/MiniVI. Originally posted by Androtim on 2026-11-28T12:02:56Z.
Automated triage for the maintainers (not an approval).
Verdict:
needs-gpu-test· CI (check):passingReview Summary
crate::list::tables_done(&lists[..cut])immediately afterhost.execute(&now)insubmit_split(crates/victory-gpu/src/queue.rs), matching the existing synchronous execution path insubmit_cut(crates/victory-gpu/src/queue.rs:167-177).cut > 0path insubmit_split,lists[..cut]are executed synchronously viahost.execute(&now)without being detached (crate::list::detachis only used forlists[cut..]). Releasing their fresh descriptor tables' dynamic slots right afterhost.execute(&now)prevents those slots from staying pinned until the title resets the command lists, consistent withsubmit_cut.submit_splitfallback path (VICTORY_CUT_WAITS=0,VICTORY_ASYNC_SUBMIT=0), which was not directly exercised by the default-presetverify-world.ps1run in the PR description. A quick local GPU smoke test on that fallback path is warranted before merging.(Automated technical triage; not formal maintainer approval.)
Generated with Antigravity CLI (
agy).