Skip to content

D3D12.X: count queued pipeline builds without a frame scan - #132

Draft
bmjask wants to merge 1 commit into
stack/128-preserve-used-pipelinesfrom
stack/129-count-queued-builds
Draft

bmjask wants to merge 1 commit into
stack/128-preserve-used-pipelinesfrom
stack/129-count-queued-builds

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #131.

This is an internal draft stack in bmjask/xcl; it is not an upstream merge request.

What and why

This unit isolates d3d12.x: count queued pipeline builds without a frame scan as one reviewable step in the redesign.

Upstream overlap

This overlaps upstream PR xcl-dev#1168 and is retained only as an internal reconciliation draft.

What is in it

  • b114ddde is the cleaned-stack form of integrated commit 605d9d77.

The patch content is preserved; only ancestry changed to omit a canceled add/revert sequence.

Tested

Tests were not rerun while packaging this already-integrated change into the draft stack.

Regression run

Not run during stack packaging.

Not tested

  • Windows MSVC build and test suite
  • D3D12 GPU execution
  • scripts/smoke.ps1 main/head comparison

AI use

Codex, GPT-5.6-sol, removed canceled ancestry, created the stack branch, and drafted this description. It did not author new code during stack packaging.

@bmjask
bmjask force-pushed the stack/129-count-queued-builds branch 2 times, most recently from a68c4e1 to fe3906b Compare November 27, 2026 01:00
Every present walked every title-visible stand-in and locked its shared build just to update the compiling title. Cold runs can retain tens of thousands of dormant lazy stand-ins, so this both reported work that was never queued and added O(N) render-thread contention with completion.

Adapt the measured accounting idea from xcl-dev#1168 to the integrated coalesced Build model. Track each unique title-visible build through idle, active, and done, publish the counter before a worker can complete, and finish it exactly once on completion or last-owner orphaning. Auxiliary foreground builds remain outside the title-pipeline metric.

The Windows GNU library/test cross-check passed with the existing warnings. Windows MSVC runtime, GPU, and smoke tests were not available here.

Source concept: xcl-dev#1168 by eizispark, written with Antigravity (Google DeepMind, Gemini 4 Carbon / Claude Opus 5.5).

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/128-preserve-used-pipelines branch from 9718a6e to e03a2e0 Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/129-count-queued-builds branch from fe3906b to 9bd6256 Compare November 27, 2026 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant