Skip to content

D3D12.X: refresh title fences outside the global lock - #53

Draft
bmjask wants to merge 1 commit into
stack/049-direct-dxil-cfg-allocationsfrom
stack/050-refresh-title-fences
Draft

bmjask wants to merge 1 commit into
stack/049-direct-dxil-cfg-allocationsfrom
stack/050-refresh-title-fences

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #52.

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

What and why

This unit isolates d3d12.x: refresh title fences outside the global lock as one reviewable step in the redesign.

Upstream overlap

This is adapted from upstream PR xcl-dev#2649 and adds a diagnostic-lifetime race correction. It is retained only as an internal reconciliation draft.

What is in it

  • 64616cc8 is the cleaned-stack form of integrated commit 80035629.

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/049-direct-dxil-cfg-allocations branch from e0b0365 to cc1237b Compare November 27, 2026 00:45
@bmjask
bmjask force-pushed the stack/050-refresh-title-fences branch from 64616cc to 7825a45 Compare November 27, 2026 00:46
Fence refresh and diagnostics held the global fence table lock across driver GetCompletedValue calls, while CPU signals scanned unrelated fences. Snapshot stable cell mirrors, serialize refreshes per fence, and keep raw diagnostic fixtures alive through teardown without blocking ordinary signal/wait bookkeeping.

Adapted from xcl-dev/xcl PR xcl-dev#2649 commit 6530439 by Decodere, with the non-cell diagnostic lifetime race fixed.

Cross-target cargo check for library and tests passed; Windows execution was unavailable.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/049-direct-dxil-cfg-allocations branch from cc1237b to cd7e2c3 Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/050-refresh-title-fences branch from 7825a45 to 7300e75 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