Repository navigation
README: document XCL_TWO_PASS_MB - #3555
romeawayfromhome-rgb wants to merge 1 commit into
Conversation
|
Review (head a05aad7, diff read, not a merge-check; draft, docs only):
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. |
|
No open or merged PR documents AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
When local-VRAM two-pass buffers reach XCL_TWO_PASS_MB (or the DXGI headroom floor), spill overflow UAV buffers to D3D12_MEMORY_POOL_L0 (up to XCL_TWO_PASS_L0_MB, default 512 MiB; 0 disables) with a separate FREE_L0_RES pool instead of spin-waiting and skipping draws. Complementary to xcl-dev#3165 and xcl-dev#3555.
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 main d0832e6: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