Commit Graph

5 Commits

Author SHA1 Message Date
51f94c885d gbuffer_census, navmesh_cell_fit, root_spill_census: a wrong input is one ERROR line, not a traceback 2026-12-01 12:40:33 -05:00
a4b0240daf 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) (#6332)
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)
2026-11-23 08:26:17 -06:00
Neo
5aab90f27b root_spill_census: refuse a --json that is a folder, use same_report_path for input collision, and create missing parent dirs (#6324)
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
2026-11-23 08:06:45 -06:00
d34d1654f4 D3D-315 review: narrow the spill conclusion; --base keeps unnamed defaults
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>
2026-11-23 00:52:20 +01:00
6edda9355e D3D-315: census of root-signature spill evidence; none in the corpus
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>
2026-11-23 00:39:08 +01:00