Skip to content

D3D12.X: pin tracked SRV resources across release - #201

Draft
bmjask wants to merge 1 commit into
stack/197-retire-pso-pinsfrom
stack/198-pin-srv-resources
Draft

bmjask wants to merge 1 commit into
stack/197-retire-pso-pinsfrom
stack/198-pin-srv-resources

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #200.

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

What and why

This unit isolates d3d12.x: pin tracked srv resources across release as one reviewable step in the redesign.

What is in it

  • 287a854a is the cleaned-stack form of integrated commit c04b5399.

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/198-pin-srv-resources branch 2 times, most recently from fd75569 to a67ccb2 Compare November 27, 2026 01:01
@bmjask
bmjask force-pushed the stack/197-retire-pso-pins branch from 4d79c3f to 793cf2d Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/198-pin-srv-resources branch from a67ccb2 to 6a10f27 Compare November 27, 2026 05:14
Serialize opt-in final resource release with a dedicated lifetime gate so a future quiescent rewrite cannot clone a numeric COM identity after it died. On logical zero, remove the tracker entry atomically with lease snapshots, then leave the lifetime gate before unrelated backing cleanup. Descriptor writes never nest with that gate, and the exact-generation strong resource lease never waits for descriptor writes. Heap-generation leasing and raw descriptor-memory reconciliation remain separate prerequisites.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/197-retire-pso-pins branch from 793cf2d to ca2dd38 Compare November 27, 2026 12:35
@bmjask
bmjask force-pushed the stack/198-pin-srv-resources branch from 6a10f27 to 06a6f41 Compare November 27, 2026 12:35
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