Skip to content

D3D12.X: isolate ABI roots by device - #146

Draft
bmjask wants to merge 1 commit into
stack/142-node-mask-compute-blobsfrom
stack/143-device-abi-roots
Draft

bmjask wants to merge 1 commit into
stack/142-node-mask-compute-blobsfrom
stack/143-device-abi-roots

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #145.

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

What and why

This unit isolates d3d12.x: isolate abi roots by device as one reviewable step in the redesign.

What is in it

  • bf78381f is the cleaned-stack form of integrated commit f49922da.

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/143-device-abi-roots branch 2 times, most recently from 48845a7 to edb4525 Compare November 27, 2026 01:00
@bmjask
bmjask force-pushed the stack/142-node-mask-compute-blobs branch from 2ca9e15 to 8b00d7c Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/143-device-abi-roots branch 2 times, most recently from 0eb8165 to f0edbf7 Compare November 27, 2026 12:34
D3D12 root signatures belong to the device that created them. Cache both plain and static-sampler ABI signatures by device so secondary devices cannot receive a foreign COM object.

A synthetic cache test covers identical sampler layouts on distinct devices. Checked with the Windows GNU cross-target cargo check; native Windows GPU tests were unavailable.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/142-node-mask-compute-blobs branch from ca6346d to fbcd70e Compare November 28, 2026 01:35
@bmjask
bmjask force-pushed the stack/143-device-abi-roots branch from f0edbf7 to 5cd0c4a Compare November 28, 2026 01:35
bmjask pushed a commit that referenced this pull request Nov 29, 2026
…ure transitions

Port barrier_groups.rs from amd-dev (a68f609 + fdd1ac2, raylitebull) onto main:

- Translates command list #146 Barrier(groups) texture barriers into legacy
  D3D12_RESOURCE_BARRIER transitions routed through list_x::resource_barrier_x,
  including DEPTH_READ (0x20) on depth-read layouts and independent depth/stencil
  plane tracking.
- Tracks legacy ResourceBarrier state updates via note_legacy_state and clears
  per-resource state on resource release (real.rs).
- Exposes depth_uav::kept for depth-twin PARK state coordination.
- Opt-out via XCL_BARRIER_GROUPS=0 (the global UAV barrier remains).
bmjask pushed a commit that referenced this pull request Nov 29, 2026
D3D12.X: translate list #146 enhanced barrier groups into legacy texture transitions
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

Nothing has happened on this PR for 3 days, so it is marked stale and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto main if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.

@github-actions github-actions Bot added the stale label Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant