Skip to content

Recompiler: prune unused split-piece resource bindings - #129

Draft
bmjask wants to merge 1 commit into
stack/125-enqueue-sparse-waits-unlockedfrom
stack/126-prune-split-bindings
Draft

bmjask wants to merge 1 commit into
stack/125-enqueue-sparse-waits-unlockedfrom
stack/126-prune-split-bindings

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #128.

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

What and why

This unit isolates recompiler: prune unused split-piece resource bindings as one reviewable step in the redesign.

What is in it

  • 351733db is the cleaned-stack form of integrated commit e75128ea.

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/126-prune-split-bindings branch 2 times, most recently from f68fc9d to fd6fd69 Compare November 27, 2026 01:00
@bmjask
bmjask force-pushed the stack/125-enqueue-sparse-waits-unlocked branch from 42b477e to bbf78c4 Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/126-prune-split-bindings branch from fd6fd69 to 9e75e14 Compare November 27, 2026 05:14
Split pieces inherited the whole shader's static resource metadata even when optimization removed every handle use in that piece. Derive the reachable binding ranges after optimization and retain only matching metadata, while preserving survivor order and the shared chain root-signature ABI.

The split parity fixture checks that scratch-only pieces omit the title-memory binding without changing GPU results.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/126-prune-split-bindings branch from 9e75e14 to 542b2c0 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