Skip to content

D3D12.X: track live texture SRV metadata - #191

Draft
bmjask wants to merge 1 commit into
stack/187-retirement-receiptsfrom
stack/188-live-texture-srv-metadata
Draft

bmjask wants to merge 1 commit into
stack/187-retirement-receiptsfrom
stack/188-live-texture-srv-metadata

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #190.

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

What and why

This unit isolates d3d12.x: track live texture srv metadata as one reviewable step in the redesign.

What is in it

  • a08232f3 is the cleaned-stack form of integrated commit 792da704.

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/188-live-texture-srv-metadata branch from a08232f to 5204da6 Compare November 27, 2026 00:46
@bmjask
bmjask force-pushed the stack/187-retirement-receipts branch from 083ab1c to 2a3d85e Compare November 27, 2026 01:01
@bmjask
bmjask force-pushed the stack/188-live-texture-srv-metadata branch 2 times, most recently from 10d6bae to 515fc16 Compare November 27, 2026 05:14
Texture residency cannot safely replace descriptors until recorded command lists and queue fences carry descriptor generations. Retain only the current CPU-side logical state, keyed by heap generation and slot, so later work has exact resource, device, descriptor, and publication identities without holding COM objects alive.

The opt-in tracker serializes complete hooked descriptor mutations, mirrors overwrites and range copies, stores all eight console descriptor words, and provides an unused on-demand generation-checked snapshot that discards raw-memory rewrites. Untrackable fallback sources clear destinations. It does not scan submissions, rewrite descriptors, or change texture mappings.

Measured with a Windows GNU cross-target check including tests; executable tests were not run because this Linux host cannot run the Windows target.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/188-live-texture-srv-metadata branch from 515fc16 to dd15ef4 Compare November 27, 2026 12:35
@bmjask
bmjask force-pushed the stack/187-retirement-receipts branch from 201a318 to dc8a117 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