Skip to content

README: document XCL_RESIDENCY_PRIORITY - #3570

Draft
romeawayfromhome-rgb wants to merge 1 commit into
xcl-dev:mainfrom
romeawayfromhome-rgb:docs/residency-priority-readme-05
Draft

romeawayfromhome-rgb wants to merge 1 commit into
xcl-dev:mainfrom
romeawayfromhome-rgb:docs/residency-priority-readme-05

Conversation

@romeawayfromhome-rgb

Copy link
Copy Markdown

Documents XCL_RESIDENCY_PRIORITY, the opt-in switch added with the residency-priority work merged in #3156 (head b2b1f109d27e746a62ec95b04dd1f9924452e682). The README had no mention of it.

What is in it

  • One bullet in README.md, after the XCL_TEXTURE_LEVEL_PAGES bullet: what XCL_RESIDENCY_PRIORITY=1 does, which heaps get HIGH, that the priority is set when a heap is made with nothing called per frame, that a failure is logged once and leaves the default, and that it is off by default with only 1 turning it on.

Tested

  • Docs only; no code changed. Wording verified against crates/xcl/src/hle/d3d12x/vram.rs at b2b1f109 (residency_priority_wanted, role_priority, pages_role, set_heap_priority) and the WindowPool call in crates/xcl/src/hle/d3d12x/sparse.rs: only a trimmed 1 enables it, render-target arenas, window tile pools and target page pools get HIGH, other texture pages keep the default, and a failure logs once.
  • Checked open PRs and issues for a duplicate: none found.

Regression run
Not needed: docs only (README.md), no runtime change.

Not tested

  • Not built or run: this change touches no code, and XCL builds on Windows only; it was prepared from a Linux VM with no Rust toolchain. Relying on CI for the description checks.

AI use

  • Muse (Muse Spark, Meta AI) prepared this docs change and PR text; the facts above were checked against the source at the head named.

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

Foniass commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Review (head 3c90156, diff read, not a merge-check; draft):

Fine: the enable check (a trimmed 1, read once), the roles that get HIGH (role_priority, gpu_owned covering RT/DS/UAV), the one-time failure warning and the absence of a per-frame call match vram.rs on main.

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

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