Skip to content

README: document XCL_RESERVED_POOL - #3274

Draft
romeawayfromhome-rgb wants to merge 1 commit into
xcl-dev:mainfrom
romeawayfromhome-rgb:docs/reserved-pool-readme-19
Draft

romeawayfromhome-rgb wants to merge 1 commit into
xcl-dev:mainfrom
romeawayfromhome-rgb:docs/reserved-pool-readme-19

Conversation

@romeawayfromhome-rgb

Copy link
Copy Markdown

What is in it

  • README.md only: one bullet documenting XCL_RESERVED_POOL. Verified against crates/xcl/src/hle/d3d12x/vram.rs at fa20459: reserved_pool_enabled() is true unless the value is exactly "0"; RESERVED_POOL_MAX keeps at most 512 idle reserved sampled textures per device; reuse is keyed by exact description and uniform state, with tiles unmapped while parked. README.md had no XCL_RESERVED_POOL mention; code search found only vram.rs and issue/PR search found no duplicate.

Tested

  • Source check only: read vram.rs (reserved_pool_enabled/RESERVED_POOL_MAX/ReservedKey) at upstream fa20459 and confirmed README.md had no XCL_RESERVED_POOL mention. No hardware test.

Regression run

  • Not needed: docs-only change (README.md), no crates/xcl/src changes.

Not tested

  • Not compiled or run locally: the authoring VM has no Rust toolchain and no Windows/GPU, so no cargo test and no title run. Relying on CI.

AI use

  • Muse Spark (Meta AI) scouted the undocumented switch, verified it against source, and drafted this README bullet and PR text; the account holder authorized the contribution loop.

@github-actions github-actions Bot added the area:docs-ci Documentation, scripts, workflows, repo governance label Nov 29, 2026
@Foniass

Foniass commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Review (head 8709ead, diff read, not a merge-check; draft, README only):

  • Nit: one line of about 200 characters; the bullets around it wrap at about 100 columns.
  • Precision: only the exact value 0 turns it off (vram.rs ~737 doesn't trim).

Fine: the text matches main (RESERVED_POOL_MAX = 512 per device, an exact description and uniform state as the key, tiles unmapped while parked, #1268), and the README doesn't mention it yet.

AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point.

@Foniass

Foniass commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Triage (#1607) – head 8709ead

No other open PR documents XCL_RESERVED_POOL. The author's other README PRs (#3118, #3155, #3202, …) document different variables. The line matches vram.rs: RESERVED_POOL_MAX = 512 per device, keyed by the exact desc and state, tiles unmapped while parked, =0 turns it off.
Recommendation: keep open.

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:docs-ci Documentation, scripts, workflows, repo governance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants