Skip to content

D3D12.X: publish GPU texture writes at title fence completion - #114

Draft
bmjask wants to merge 1 commit into
stack/110-signal-retirement-unlockedfrom
stack/111-publish-texture-writes
Draft

bmjask wants to merge 1 commit into
stack/110-signal-retirement-unlockedfrom
stack/111-publish-texture-writes

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #113.

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

What and why

This unit isolates d3d12.x: publish gpu texture writes at title fence completion as one reviewable step in the redesign.

What is in it

  • 131913a7 is the cleaned-stack form of integrated commit 49cb44ad.

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/110-signal-retirement-unlocked branch from 673c432 to fb2b071 Compare November 27, 2026 00:45
@bmjask
bmjask force-pushed the stack/111-publish-texture-writes branch from 131913a to 9414829 Compare November 27, 2026 00:45
@bmjask
bmjask force-pushed the stack/110-signal-retirement-unlocked branch from fb2b071 to 90ee267 Compare November 27, 2026 01:01
@bmjask
bmjask force-pushed the stack/111-publish-texture-writes branch from 9414829 to 3a453c9 Compare November 27, 2026 01:01
GPU-written title textures previously remained detached from their CPU
memory view. Before a title signals the exact queue that wrote supported
subresources, build immutable readback plans, validate and reserve their
writer epochs in that queue turn, and enqueue the readbacks ahead of the
native title-fence signal.

Fence completion stays hidden until completed tickets are reverse-tiled
into committed writable title pages. Replaced epochs, resource generations,
partial submission failures, and queue reuse are discarded or retained
fail-closed. Cross-queue writes remain pending for their own synchronized
writer queue.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/110-signal-retirement-unlocked branch from 90ee267 to 2c92401 Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/111-publish-texture-writes branch from 3a453c9 to 20decd9 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