Skip to content

D3D12.X: invalidate exact driver-cache file generations - #76

Draft
bmjask wants to merge 1 commit into
stack/072-simplify-bitmasks-ffbhfrom
stack/073-exact-driver-cache-generation
Draft

bmjask wants to merge 1 commit into
stack/072-simplify-bitmasks-ffbhfrom
stack/073-exact-driver-cache-generation

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #75.

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

What and why

This unit isolates d3d12.x: invalidate exact driver-cache file generations as one reviewable step in the redesign.

What is in it

  • b7a71091 is the cleaned-stack form of integrated commit 1b605a25.

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/073-exact-driver-cache-generation branch from b7a7109 to f1fb26d Compare November 27, 2026 00:45
Retain the Windows file handle used to read each persisted driver blob. If the driver or offline precompiler rejects it, dispose that exact file object rather than a pathname another process may already have replaced.

Open entries with read/delete sharing and OPEN_REPARSE_POINT, falling back to read-only and failing closed when exact-object deletion is unavailable. Preserve cache-I/O stall attribution and cover cross-process replacement and link safety.

Adapted from xcl-dev#2614. Locally cross-checked with the GNU Windows target; Windows filesystem tests and execution remain untested here.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/073-exact-driver-cache-generation branch from f1fb26d to 31e90bd 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