Repository navigation
Report FSPX translation coverage against the unpacked inventory - #5688
kacper-serewis wants to merge 2 commits into
Conversation
|
Checked the coverage report on four fresh extractions/translations of the FidelityFX DLL from Xbox 1.0.2.1, at
For each run I checked the CLI totals against the actual module index and refusal set and ran external |
|
Tested
AI-assisted (Claude Code). |
larpinguser
left a comment
There was a problem hiding this comment.
Summary
Adds tools/fspx_coverage.py, which counts per-program FSPX outcomes (eligible, translated, refused, unaccounted with reasons) from unpacked and translated directories without reading shader contents. rdna2spirv.py gains --record-refusals (unsharded only) writing refusals.json; make_game.py passes the flag and clears the file on rebuild. Documents the workflow in docs/fspx.md and adds coverage, stage, and CLI tests.
Why merge
Turns FSPX translation status into an auditable report and prevents stale refusals from surviving a rebuild.
Verdict: Approve
SummaryAdds Why mergeTurns FSPX translation status into an auditable report and prevents stale refusals from surviving a rebuild. Verdict: Approve |
Windows CPU: 29 cached listings, 18 pass spirv-val, 11 explicit refusals. Older output has 11 missing results. All 50 focused tests passed. The repository newline scan flags the unchanged upstream f64_omod_probe.py:268. AI-assisted.
Depends on: ItsNotRexed#5688 at 31ba693. Windows CPU: both focused tests and compileall passed. Re-ran both ItsNotRexed#2323 input paths at 6dcbcbd with local refusal recording on all 29 cached programs. spirv-val confirmed 18 retained and 11 newly validated identities, with no missing identities or regressions. The legacy run had 11 missing results, all explicit refusals in the updated listing run. No raw package or GPU. AI-assisted.
|
Tested 31ba693 on Arch Linux, Python 3.14.10, CPU only: pass.
No game files, no GPU. AI-assisted. |
|
checked: #5688 @ 31ba693 — CPU only, no GPU: |
Claimed in the second implementation item on #5581. Independent of #5563 and #2323. No open PR dependencies.
Adds a count-only report for matching FSPX unpack and translation outputs. The FSPX build records named Unsupported outcomes locally. The report checks listings, the published index and modules, and reports missing or conflicting evidence separately. Older output directories remain usable.
Tested on Windows, Python 3.13.15, CPU only. GPU and driver were unused. On all 29 privately cached programs, base 561b65a and this branch both translated 18 and passed spirv-val for all 18. The new refusal record accounts for the remaining 11. The same report against the base output counts those 11 as unaccounted. No raw package was required.
Passed the standalone fspx_coverage, fspx_shaders_stage, rdna2spirv_cli and text_write_line_endings test files (50 tests), plus compileall. Synthetic cases cover missing listings, explicit refusals, incomplete and conflicting outputs, and stale refusal records.
AI-assisted implementation and testing.