Skip to content

Recompiler: stream gpu::effects without intermediate allocations - #49

Draft
bmjask wants to merge 1 commit into
stack/045-dxc-slot-admissionfrom
stack/046-stream-gpu-effects
Draft

bmjask wants to merge 1 commit into
stack/045-dxc-slot-admissionfrom
stack/046-stream-gpu-effects

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #48.

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

What and why

This unit isolates recompiler: stream gpu::effects without intermediate allocations as one reviewable step in the redesign.

What is in it

  • ca13b36f is the cleaned-stack form of integrated commit 73bac107.

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/046-stream-gpu-effects branch from ca13b36 to b042a65 Compare November 27, 2026 00:45
@bmjask
bmjask force-pushed the stack/045-dxc-slot-admission branch from 77bf05a to d4fcacd Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/046-stream-gpu-effects branch from b042a65 to d252dcf Compare November 27, 2026 05:14
…d copying compute blobs

Replace Vec<Decoded> + HashSet<u64> in gpu::effects::of with a single-pass
streaming decoder over sorted instruction PCs, delegating to an explicit
far-jump path only when S_SETPC_B64 appears. Add early-exit on memory
writes and zero-copy slice borrowing for FSPX and FSSM compute shaders in
big_and_image_only.

Part of xcl-dev#2508
Part of xcl-dev#1833
Assisted-by: Google Antigravity (Gemini 4 Neon)

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/046-stream-gpu-effects branch from d252dcf to b66b5b0 Compare November 28, 2026 01:35
@github-actions

github-actions Bot commented Dec 2, 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 2, 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