Repository navigation
SHADER-181: update pixel input counts after packed-mask correction - #2778
kacper-serewis wants to merge 2 commits into
Conversation
|
Tested on Linux (WSL2 Ubuntu, Python 3.12) and native Windows 11 (Python 3.13.1), CPU only: pass. Docs-only (one row of docs/design.md), so there are no tests or negative control. Merges cleanly with main on both OSes; trial merge with #2780, which edits the same file, is clean. I could not check the new corpus counts without game data. |
|
Code read of 0efaab7: the two changed counts (76,215 → 77,245 and 3,652 → 4,529 read) follow from #2735's per-mask lookup. Other numbers in the same row also depend on
Could you confirm from the same #2735 run that those are unchanged, or update them too? (The 1,030 extra read rows split 877 Constant / 153 Linear.) Merge after #2735, as the PR says. I didn't rerun the corpus. AI-assisted code read (Claude Code). |
kacper-serewis
left a comment
There was a problem hiding this comment.
Confirmed and corrected in 9185e6b. I ran both readers on all 12,101 indexed pixel shaders with a matching FSSM and disassembly for every shader. Parent 4947579 classified 10,249 as perspective-centre, seven as flat-only, four as linear-centre, and 1,841 as none. Head ef8e4a9 classified 10,260 as perspective-centre and 1,841 as none. Both counted 9,453 live non-perspective-centre inputs in 9,453 shaders. The old four-shader exception no longer follows from this census, so I removed it in both places. Windows CPU, AI-assisted. All 26 interpolation-mode tests passed.
99342e6 to
a2de1dd
Compare
# Conflicts: # docs/design.md
# Conflicts: # docs/design.md
SHADER-181 / PROC-130. Continuation claim. Original claim.
Depends on: #2440 (merged as
da958c82).The saved census with the merged packed-mask reader confirms 77,245 read inputs among 101,024 declared inputs, including 4,529 Constant generic inputs and 345 front-face inputs. Across 12,101 pixel shaders, 10,260 classify as perspective-centre and 1,841 use no pair. The census measures input classification. Hardware delivery of SV_Position remains unverified by this measurement.
The change removes the superseded census block and both references to the old four-shader linear-pair classification from the SHADER-181 row in
docs/design.md.AI-assisted. On Windows, 20 documentation tests, 4 design contract row tests and 30 pixel interpolation tests passed. The one-row diff against main passed
git diff --check. Verification reused the saved aggregate without a new corpus scan or archive access. GPU and driver: none used.