Skip to content

README: document XCL_GFX_PSO_WAIT_MS - #3396

Draft
romeawayfromhome-rgb wants to merge 1 commit into
xcl-dev:mainfrom
romeawayfromhome-rgb:docs/gfx-pso-wait-ms-readme-05
Draft

romeawayfromhome-rgb wants to merge 1 commit into
xcl-dev:mainfrom
romeawayfromhome-rgb:docs/gfx-pso-wait-ms-readme-05

Conversation

@romeawayfromhome-rgb

Copy link
Copy Markdown

What is in it

  • README-only documentation of XCL_GFX_PSO_WAIT_MS verified against crates/xcl/src/hle/d3d12x/pso_async.rs (gfx_wait_budget/budget_of/gfx_wait_left) at upstream head 7a649b0.

Tested

  • No local build/test (docs-only; this environment has no Windows/GPU test setup). No cargo test run.

Regression run

  • Not needed: docs-only, no crates/xcl/src change.

Not tested

  • Runtime behavior not exercised; wording checked against source only.

AI use

  • Muse Spark (Meta AI) researched the variable in source, checked for duplicate PRs, and prepared this docs change.

@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 7778a8f, diff read, not a merge-check; draft, README only, conflicts with main):

  • Conflicts with current main (the lines around it moved); it needs a rebase.
  • Placement: it is nested ( -) under the bullet about saving driver blobs to disk (XCL_PSO_DISK_CACHE), which is unrelated. README: document XCL_CS_PSO_WAIT_MS #3422 (yours) puts the compute budget as a top-level bullet in the same spot, and this one belongs beside it. It is also one line of about 330 characters, where the neighbours wrap at about 100 columns.
  • XCL_PSO_WAIT_MS, which it falls back to, isn't in the README either.

Fine: the text matches main. The budget is a thread's share per second, not one per pipeline (gfx_wait_left / gfx_wait_spent, pso_async.rs ~10943-10962). Unset, 0 or not a number falls back to XCL_PSO_WAIT_MS per pipeline (budget_of, budget_for). Past it the draw and the pipeline's later draws get the stand-in and draw nothing until it is built.

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 7778a8f

No open or merged PR documents XCL_GFX_PSO_WAIT_MS; main's README does not mention it yet, and the text matches gfx_wait_budget / budget_of in pso_async.rs (unset, 0 or not a number: per-pipeline XCL_PSO_WAIT_MS budget).
The line is added as a nested - bullet under the unrelated XCL_PSO_DISK_CACHE item and is not wrapped like the lines around it; it probably belongs as its own top-level bullet. The PR also conflicts with main now.
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