GPU: defer host replacements for private translator lists #1503
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1503"
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 fxceless/victory-fork. Originally posted by Swagi-REDACTED on 2026-11-28T01:05:46Z.
Private translator backing lists currently acquire an empty native command allocator/list immediately after their recorded host side is detached for submission. The next recording is required to reset the back before using it, so acquire its replacement from the existing reuse pool at reset instead.
What is in it
Tested
Windows 11, Ryzen 7 9800X3D, 16 GiB RAM, RTX 3060 12 GiB, NVIDIA 621.14; Rust 1.98.1.
cargo +1.98.1 test --release --locked --offline -p victory-gpu --lib -- --test-threads=1 --nocapture(private--target-diromitted):368967f: 414 passed, 2 failed, 35 ignored.e0a774b: 416 passed, 2 failed, 35 ignored.indirect::tests::host_list_budget_starts_empty_at_each_submissionandindirect::tests::warp_batch_charges_every_execution.Local runs of A newer retail game used a separate integration branch (
8b5f992, also carrying #1210, #1495 and #1442). Loading still fails. These runs do not establish a frame-rate or progression improvement; no such claim is made here. The original commit message records that integration branch's test counts, which include two additional library tests.Not tested
Full workspace suite, a successful gameplay/prologue run, a controlled memory/performance benchmark, or an actual GPU execution of the cut-list regression case. The 35 ignored GPU tests were not coverage.
AI use
Codex, GPT-6 (exact serving variant not provided): implemented the change and regression tests, ran local validation, and performed a read-only code review. Committed under the contributor's identity with Codex as coauthor.
Imported from fxceless/victory-fork. Originally posted by akimfomin on 2026-11-28T01:22:40Z.
The useful cross-project control here is XCL #2333, where an untracked command list must keep the caller's allocator. Your
0d7a2bafchanges the opposite ownership case, a translator-owned private list. A focused A/B can pin both behaviors in one test: keep a private list alive through a host replacement request, then issue the same request with an ordinary tracked list and ensure its replacement still runs. Compare whether replacement is queued or executed in each case. This is a source comparison, with no hardware claim.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.