Squash-merged after diff review of PR #6332 - root_spill_census: read the index and the --carve index as utf-8-sig, so a UTF-8 BOM is not a JSON error (EGEN-ROOTSPILL-BOM)
Squash-merged after review of PR #6324 - root_spill_census: refuse a --json that is a folder, use same_report_path for input collision, and create missing parent dirs
docs: the census shows zero below-base spill-pointer candidates in the
translated shaders, not that no signature spills. How many runtime
signatures exceed the budget and why a given pack() refusal happens stay
open; listed with the at-or-above-base blind spot.
root_spill_census.py: --base overrides only the stages it names. Before,
--base cs=4 alone dropped every other stage from the check (a PS address
read at s7 passed --expect-no-spill). Tests cover that case and the
base-1 / base / base+1 boundary for every default stage.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tools/root_spill_census.py counts, per stage, user-SGPR reads used as an
address below the stage base (where the compute spill pointer s[0:1] was
measured), the highest user SGPR read and its kind, the RSRC2 USER_SGPR
budget where index.json records it, and RTS0 parts in the carved
containers. --expect-no-spill turns it into a check. Counts only, from
index files; no game bytes.
On Xbox Series 1.0.2.1 (26,501 translated shaders, 26,503 containers):
0 RTS0 parts, 0 spill-pointer candidates in any stage, compute at most
14 user SGPRs (10 of 28 root dwords). docs/d3d12_vulkan.md records the
counts; pack() keeps refusing over 32 dwords, now with the measured
reason that no shader would read a spill.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>