fix(gpu): return split submissions' descriptor slots; keep min level on moved views #223
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/223"
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 mutlusinan on 2026-11-27T19:53:44Z.
Problem
submit_cutalready does this after the sameexecute; the split path did not.show_fromlowersResourceMinLODClampby the number of levels it skips, but the clamp is measured from mip 0 of the resource, not from the view's first level — so the minimum level changed when the view's start moved.Fix
queue.rs,submit_split: callcrate::list::tables_done(&lists[..cut])afterhost.execute, assubmit_cutdoes.tiles.rs,show_from: leaveResourceMinLODClampalone; the device test now samples the same resident level through the adjusted and the original view instead of expecting the adjusted one to read level 1.Verification
cargo check --workspace --target x86_64-pc-windows-msvc --locked— clean.cargo run -p xtask -- policy— 286 files ok.tiles.rsdevice test needs a GPU and was not run here.Ported from fxceless/victory-fork
af23c65(fork PR #1320) and41f9857(fork PR #1210), GPL-3.0-or-later.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by mutlusinan on 2026-11-27T20:21:19Z.
Risk assessment (porting review)
Host::executeissubmit(..., late = false), which holds the submission lock for the whole passage, i.e. the lists have run when it returns.submit_cuthas used exactly this sequence (queue.rs:171-177), andtables_doneskips null lists and lists that still haveearlierwork.nowfilters out entries without a host list).ResourceMinLODClampis measured from mip 0 of the resource per D3D12, so leaving it untouched is spec-correct. The device test that covers it was not run here (needs a GPU).mainate69e39c.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by 1tsethan on 2026-11-27T23:00:36Z.
Independent Windows validation of PR #223.
Tested commit:
4bdf2b31f95f099091aa192791685ff2ba0c14ce.cargo test --locked -p victory-gpu tiles:: -- --nocapture --test-threads=1Exit: 0.
Tested commit:
4bdf2b31f95f099091aa192791685ff2ba0c14ce.cargo test --locked -p victory-gpu levels_on_demand_on_the_card -- --ignored --nocapture --test-threads=1Exit: 0.
Tested commit:
4bdf2b31f95f099091aa192791685ff2ba0c14ce.cargo test --locked -p victory-gpu levels_on_demand_on_the_card -- --ignored --nocapture --test-threads=1Exit: 0.
Test-specific environment:
VICTORY_TILES_TEST_CARD=1The first explicitly ignored device-test invocation selected the software adapter and passed. The recheck sets
VICTORY_TILES_TEST_CARD=1; its adapter/progress notes are listed separately. The debug layer is not installed.Independent verification with OpenAI Codex assistance. Windows 11 Pro build 26200; Rust 1.98.1 MSVC; Windows SDK libraries from Microsoft.Windows.SDK.CPP.x64 10.0.28000.2957. Test harness used an RTX 3070 Ti / AMD integrated-GPU host; adapter identity was not captured for every test. These are focused checks on the stated PR commit, not gameplay, FPS, or a merged-main integration result.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-28T02:49:21Z.
Merged into main (
8fc2254) and shipped in v2026.11.27.10. The commit keeps you as its author, so it counts toward the contributors list. GitHub shows this as closed rather than merged only because the commits were applied on top of the newest main (new commit IDs). Thank you!Pull request closed