shader-compiler: mesh/lane spill dead position use #278
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/278"
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 brcly/TuxBox. Originally posted by s3rius on 2026-11-26T22:36:29Z.
Summary
Console pixel programs can write a lane-spill area (v_writelane_b32) and read it only as the position operand of an f16 raster interpolator — an operand the emitter never emits, so it was treated as a live "vector use" and the whole shader refused. The check now skips that one dead use; any other vector use of a spill register stays refused (3 new tests, both directions). 72 of 88 ProjectScarlett requests in the bucket now translate; the remaining 16 are unrelated pre-existing refusals. A Lanes scenario (lane-spill-interp) covers the fix end-to-end. 395 tests pass; build passes. Translation-verified locally; not GPU-verified.
Signed-off-by: Pavel Kirilin [email protected]
Verified on Lanes
A pull request is not merged until Lanes passes on a GPU. Run:
python tuxbox.py checkpassed on this branchGPU, driver and backend:
Paste the summary printed at the end:
Checks
CI runs the Python unit tests, the shader compiler, DXBC, and XG layout tests, and a Windows typecheck of
tuxbox-d3d12.If this pull request changes evidence JSON, regenerate the results table and the progress map and include both files:
Imported from brcly/TuxBox. Originally posted by NickStallman on 2026-11-26T23:17:22Z.
AMD run of
8cec933(this PR's head): the fullpython tuxbox.py check --adapter 1002:13c0 --proton … --prefix … --windows-dxc …passed, 120 gates. Every group passed: Lanes and the self-tests, the D3D12 regression controls and the translator on the GPU.AMD Raphael iGPU (1002:13c0, RDNA2), RADV (Mesa 26.0.8), GE-Proton11-14, Linux 7.0.