Skip to content

Recompiler: preserve graphics spill slots in partial waves - #257

Draft
bmjask wants to merge 1 commit into
stack/253-reject-wave64-readsfrom
stack/254-preserve-graphics-spills
Draft

bmjask wants to merge 1 commit into
stack/253-reject-wave64-readsfrom
stack/254-preserve-graphics-spills

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #256.

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

What and why

This unit isolates recompiler: preserve graphics spill slots in partial waves as one reviewable step in the redesign.

What is in it

  • a01232e0 is part of this logical unit.

Tested

The complete rewritten tail was verified tree-identical to integrated commit 963dcdca. Tests were not rerun during stack packaging.

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, rebased the existing logical change onto the cleaned stack, verified final tree identity, created the stack branch, and drafted this description.

@bmjask
bmjask force-pushed the stack/254-preserve-graphics-spills branch from a01232e to de0dc3a Compare November 27, 2026 00:45
@bmjask
bmjask force-pushed the stack/253-reject-wave64-reads branch from bdafbc6 to f09db3c Compare November 27, 2026 01:00
@bmjask
bmjask force-pushed the stack/254-preserve-graphics-spills branch from de0dc3a to a9c6157 Compare November 27, 2026 01:01
@bmjask
bmjask force-pushed the stack/253-reject-wave64-reads branch from f09db3c to e891667 Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/254-preserve-graphics-spills branch 2 times, most recently from ac030be to 48fa972 Compare November 27, 2026 12:35
@bmjask
bmjask force-pushed the stack/253-reject-wave64-reads branch from 2884afa to ef32c77 Compare November 27, 2026 12:44
@bmjask
bmjask force-pushed the stack/254-preserve-graphics-spills branch 2 times, most recently from 11d6b30 to ffc293a Compare November 27, 2026 12:52
A wave64 vertex or pixel shader can use v_writelane slots whose target lane was not launched in a partial hardware wave. Preserve proven slots in scalar shadows, select the native value when the physical upper lane exists, and include pixel helper lanes through the established quad recovery path. Direct DXIL falls back when it cannot represent the shadow.

The structural coverage includes native and split forms, direct fallback, and an intervening VALU overwrite that requires physical-lane selection.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/253-reject-wave64-reads branch from 98fd439 to 50e85c5 Compare November 28, 2026 01:35
@bmjask
bmjask force-pushed the stack/254-preserve-graphics-spills branch from ffc293a to 4d64749 Compare November 28, 2026 01: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