shader: lower the first active lane at compute dispatch entry #2381
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2389"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T14:55:34Z.
Refs #870. The startup compute translator can fold
s_ff1_i32_b32 sN, exec_loto zero while lane zero is provably active in the dispatch entry block. This brings the entry-mask case already covered by #1903 into the startup translator. A changed mask, a back edge into entry, and a VCC operand have rejection controls. Existing scalar-word work in #2028 covers a different operand.The source-built dispatch overwrites a nonzero stride in a 24-thread group. Ignoring the instruction changes the expected output. Tested commit
42a7c533on Windows 11 build 26200, RTX 4060 Laptop driver 32.0.16.1656 and WARP 10.0.26100.9818, with the D3D12 debug layer enabled.Both Python checks passed. Both device tests passed without skips. Each adapter matched all 320 words in the added case with zero debug errors and warnings.
AI-assisted. Commands listed above were run locally.