Skip to content

D3D12.X: defer superseded texture unmaps - #149

Draft
bmjask wants to merge 1 commit into
stack/145-flatten-compute-heap-readsfrom
stack/146-defer-texture-unmaps
Draft

bmjask wants to merge 1 commit into
stack/145-flatten-compute-heap-readsfrom
stack/146-defer-texture-unmaps

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #148.

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

What and why

This unit isolates d3d12.x: defer superseded texture unmaps as one reviewable step in the redesign.

Upstream overlap

This overlaps upstream PR xcl-dev#2270 and incorporates the cycle finding from xcl-dev#594. This draft is reconciliation-only.

What is in it

  • 4ab95fdb is the cleaned-stack form of integrated commit 7cad9a3f.

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/145-flatten-compute-heap-reads branch from 3cea32b to ab3363c Compare November 27, 2026 00:45
@bmjask
bmjask force-pushed the stack/146-defer-texture-unmaps branch from 4ab95fd to 18c6891 Compare November 27, 2026 00:46
@bmjask
bmjask force-pushed the stack/145-flatten-compute-heap-reads branch from ab3363c to f8ccb43 Compare November 27, 2026 01:00
@bmjask
bmjask force-pushed the stack/146-defer-texture-unmaps branch from 18c6891 to d74bc03 Compare November 27, 2026 01:00
Keep superseded reserved textures and their tiles alive until completion markers on every relevant title and upload queue have passed. Use the guarded queue-retirement snapshot and CPU polling so the mapping queue never waits back on title work. Fail closed when a trustworthy marker cannot be made.

Adapted from PR xcl-dev#2270 by Joey Percia, incorporating the queue-cycle finding from PR xcl-dev#594 by Abdellah Khanani.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/146-defer-texture-unmaps branch from d74bc03 to fb9e6c0 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