Skip to content

D3D12.X: reuse indirect commands within one recording list - #175

Draft
bmjask wants to merge 1 commit into
stack/171-prewarm-observed-indirectfrom
stack/172-reuse-indirect-commands
Draft

bmjask wants to merge 1 commit into
stack/171-prewarm-observed-indirectfrom
stack/172-reuse-indirect-commands

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #174.

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

What and why

This unit isolates d3d12.x: reuse indirect commands within one recording list as one reviewable step in the redesign.

What is in it

  • f94c7cd9 is the cleaned-stack form of integrated commit b1532d23.

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/171-prewarm-observed-indirect branch from 879f417 to a487c80 Compare November 27, 2026 00:45
@bmjask
bmjask force-pushed the stack/172-reuse-indirect-commands branch 2 times, most recently from 0e43a39 to 3309d6a Compare November 27, 2026 01:01
ExecuteIndirect command storage was a committed resource per call. Keep one weakly indexed resource per command-list recording and reuse offset zero after a complete UAV-to-read-to-UAV state cycle. Recordings retain it through the native allocator reset, including bind failures, while list reset and release invalidate future reuse.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/172-reuse-indirect-commands branch from 3309d6a to c557b63 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