shader: bound and verify two-exit FSSM pixel programs #471
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/477"
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-22T05:59:08Z.
Interpret the FSSM v0x101 directory at the pixel extraction boundary. Strip section padding, retain the full two-exit span, and use decoded direct branch targets to distinguish an alternate exit from an unrelated block. Earlier unique-marker fixtures keep their existing behavior. The HLSL translator still checks its own supported program and binding semantics.
Of the 6,189 PS records previously rejected for ambiguous termination, 3,561 have a pair of markers 20 bytes apart. The public regression uses only constructed containers and instructions. It covers genuine dual exits, skipped NOPs, inconsistent extents, missing terminal instructions, misleading literal/metadata markers and out-of-range, interior and disconnected targets.
LLVM 15:
python3 -B tests/pixel_aot_check.py binary llvm-mc-15 llvm-objcopy-15 libLLVM-15.so.1passed, including the new controls. On RTX 4060 Laptop and WARP, the copy and day/night tone-map references still match in all six draws (4,096 pixels each, zero maximum channel error).Full local rescan on head
7b78eab: 26,503 stage records, including 12,101 PS. With the same four resource profiles, retrying the next profile after a missing-register KeyError as well as ValueError on both versions, the old extractor accepted 5,912 PS and the new extractor 11,264 (+5,352). It accepted 3,536 of the largest 3,561-record layout. The accepted desktop shaders are still the same two pixel records: DXIL 2 (+0), PSO 2 (+0), reference readback 2 (+0). Six draws on Windows 11 build 26200.9974, RTX 4060 Laptop driver 32.0.16.1656 and WARP 10.0.26100.9818, debug layer enabled; each compared 4,096 pixels / 16,384 channels with zero maximum absolute error. These counts include no game binaries or extracted payloads.