Repository navigation
PROC-143: document the fixed-function state indices in SGD5 passes - #3071
Merged
ItsNotRexed merged 1 commit intoNov 22, 2026
Merged
Conversation
Record the effect-local fixed-function table mapping and the full-corpus discriminator used for PROC-143. Refs: ItsNotRexed#2519, ItsNotRexed#3036, ItsNotRexed#3047
This was referenced Nov 22, 2026
Contributor
|
Read b6f97b8 on Windows 11 (Python 3.13.7): pass for the layout statements checked against #3036 and #2519; the counts are not verified (needs the game) A test merge into current
AI-assisted check (Claude Code). |
This was referenced Nov 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PROC-143. Coordination claim
Depends on: #2519 and #3036 for the effect and technique lookup that this measurement starts from.
The new note identifies which bytes of a stored SGD5 pass select the rasterizer, depth/stencil and blend rows. These affect culling, depth tests and blending when reconstructing the recorded draw state. The documentation index links to the note.
I tested every whole-byte candidate at offsets 6 through 23 against each effect's state table. Across 28,798 passes, bytes 6, 7 and 8, respectively, are the unique positions that always stay in bounds and exercise every available row in every multi-row effect with passes. The three tables have 64, 124 and 398 stored rows across the archive. The reproduction procedure also handles an empty table, where a stored zero has no row to read. Runtime defaults and overrides remain open.
AI-assisted. Measured on Windows against the local Xbox 1.0.2.1 package on CPU. An independent technique-table search agreed on the boundaries used in the count.
python -I tests/test_docs_links.py -vpassed all five tests. This PR contains an indexed Markdown note with aggregate measurements and the validation method.