README: document XCL_TWO_PASS_MB #3555
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3555"
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 ivall/xcl. Originally posted by romeawayfromhome-rgb on 2026-12-01T01:13:34Z.
Documents
XCL_TWO_PASS_MB, which the README did not mention. README-only change. No issue.What is in it
README.md: one new bullet under "Switches for how a title runs", after theXCL_WAIT_TIMEOUT_MS/XCL_GPU_WAIT_TIMEOUT_MSbullet, stating thatXCL_TWO_PASS_MB=ncaps the two-pass buffers alive at once atnMiB and a draw whose buffer would pass the cap is skipped, and that unset or not a whole number the cap comes from the DXGI video-memory budget instead (1024 MiB when no budget is known).Tested
crates/xcl/src/hle/d3d12x/bind.rsat maind0832e6:two_pass_cap()parses the trimmed value as whole MiB (mb * 1 MiB) and otherwise falls back tobudget_two_pass_cap()over DXGI budget headroom, which returns 1024 MiB when the budget is unknown;refuse_two_pass()logs that a draw whose buffer would take the alive buffers past the cap is skipped. Confirmed the variable had no mention in README.md at that commit and searched open PRs/issues for a duplicate; none found.Regression run
main: n/a (docs-only)
PR: n/a (docs-only)
Not tested
cargo test --workspace, the GPU suite, and any retail title were not run.AI use
Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T07:16:46Z.
Review (head
a05aad71, diff read, not a merge-check; draft, docs only):ensure_res_buffer_with_capinbind.rs); only a draw that still doesn't fit is skipped. The unset case could say the cap is 25 % of the remaining video-memory budget, clamped between a 256-512 MiB floor and min(budget/4, 2 GiB) (budget_two_pass_cap).Fine: parsing (a trimmed whole number of MiB, otherwise the budget cap), the 1024 MiB fallback when no budget is known, no trailing whitespace, line lengths, and no other PR documents this variable.
AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point.
Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T10:14:03Z.
Triage (#1607) – head
a05aad7No open or merged PR documents
XCL_TWO_PASS_MB. The text matchestwo_pass_cap/budget_two_pass_capinbind.rs: a whole number of MiB, and otherwise the DXGI budget (1024 MiB with no budget).Nit: the second line of the entry is indented 6 spaces instead of 4 like the lines around it.
Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
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.