Commit Graph

11 Commits

Author SHA1 Message Date
85b44dd105 rootsig_census: reserve root and disasm index.json paths before first write (ROOTSIG-CENSUS-JSON-GUARD) 2026-11-24 18:01:13 -05:00
8270eaea3e rootsig_census: guard --json inputs with same_report_path and catch write OSError (ROOTSIG-CENSUS-JSON-GUARD) 2026-11-24 17:30:46 -05:00
0d4ea76a4f Merge pull request #3802 from Tomgamer
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:08:32 -05:00
d73d864711 rootsig_census: report a non-integer, boolean or negative user_sgprs as an error
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:46:43 +01:00
4e68f38d48 Merge pull request #3802 from Tomgamer 2026-11-22 17:03:53 -05:00
56a8260e6d rootsig_census: report a malformed fspx JSON in one line instead of a traceback
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 22:42:54 +01:00
84524ba830 Merge pull request #2705 from Ayinaki 2026-11-22 15:11:27 -05:00
15f5b2fbc0 Fix what the round-41 merges broke
- tests/semantic: BaseVertex/BaseInstance read 0 in the wave interpreter; the LDS MockGens follow
  SHADER-309 (lds_bound, lds_access, lds_atomic); abs emission tests load their operand, since
  SHADER-315 folds scalar ALU on constants.
- test_translate: the dynamic gather sampler is a loaded word, not s16 + 0 (SHADER-315 folds it).
- test_world_build: DDS downscale weights colours by alpha (62804d0d).
- test_fspx_shaders_stage: the fake disassembler writes the listing make_game now checks.
- xgameruntime_test: re-read the package id after clearing the LEONIDA_PACKAGE_ID override.
- docs: one row per topic again in design.md (72 topics) and README.md; one Other languages line;
  embedded_shaders.md keeps one copy of each bullet; animation.md links the heading anchor.
- tools/scripts: character_textures uses report_paths.same_report_path; stdout guard on six programs;
  LF write in vs_input_survey; the cl.exe fallback compiles winhttp_offline.cpp.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 14:30:33 -05:00
abe5d5989e rootsig_census: escape the scan root before its glob
A folder named like the carve output can hold brackets, and the root went into glob.glob unescaped, so "[v1]" was
read as a character class and the scan returned no rows without failing. Found while reviewing #3099, which fixes
the same join in navmesh_index.py and bvh_index.py; the test here rebuilds the folder and would have caught it.
2026-11-22 19:27:23 +00:00
b4827fd398 rootsig_census: read each program beside its signature
--disasm now scans tools/fspx_unpack.py output for the user SGPRs a program reads, the one it zero-extends into an
s_load base and the pairs it copies whole. Over the 29 containers that puts the two tables at s4 and s5 one dword
each and the root CBVs at whole pairs from s6, which is the one-dword-per-table model, so docs/d3d12_vulkan.md states
the mapping instead of calling it merely consistent.
2026-11-22 18:22:15 +00:00
732ae77c70 Measure root signatures against the user SGPR counts the console launched
tools/rootsig_census.py joins the 29 RTS0 signatures in amd_fidelityfx_upscaler_xbox.dll with the USER_SGPR count
each of their compute programs was launched with, under both user-data packing models. The surplus is constant (2
dwords or 4), so the arithmetic alone does not choose between them, but the s4 CS pointer base in the corpus census
does. docs/d3d12_vulkan.md records that as consistent with one dword per table rather than proof.
2026-11-22 17:57:17 +00:00