Skip to content

Recompiler: flatten direct-DXIL compute heap reads - #148

Draft
bmjask wants to merge 1 commit into
stack/144-share-split-compute-rootsfrom
stack/145-flatten-compute-heap-reads
Draft

bmjask wants to merge 1 commit into
stack/144-share-split-compute-rootsfrom
stack/145-flatten-compute-heap-reads

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #147.

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

What and why

This unit isolates recompiler: flatten direct-dxil compute heap reads as one reviewable step in the redesign.

Upstream overlap

This is part of upstream PR xcl-dev#2427 and is retained only as an internal reconciliation draft.

What is in it

  • 3cea32b2 is the cleaned-stack form of integrated commit 448c6d28.

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/145-flatten-compute-heap-reads branch 2 times, most recently from ab3363c to f8ccb43 Compare November 27, 2026 01:00
@bmjask
bmjask force-pushed the stack/144-share-split-compute-roots branch from 36f268c to f52c76c Compare November 27, 2026 01:00
@bmjask
bmjask force-pushed the stack/145-flatten-compute-heap-reads branch from f8ccb43 to 849c329 Compare November 27, 2026 05:14
Heap-window reads in the direct DXIL compute path placed a branch and PHI set around every access. Add an opt-in one-path form whose cache identity is shared by runtime and offline precompile, while the HLSL path strips the flag and stays byte-identical. Graphics stages remain guarded because their performance has not been established across vendors.

Adapted from xcl-dev#2427 by Kalmarv and Claude Code (Claude Opus 5.5).

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/144-share-split-compute-roots branch from 03d89f9 to 71024d0 Compare November 27, 2026 12:35
@bmjask
bmjask force-pushed the stack/145-flatten-compute-heap-reads branch from 849c329 to 1eae8d2 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