Skip to content

chore(oot): add recorded shader variants and warm-up rows - #2017

Merged
ly05010419 merged 1 commit into
ly05010419:mainfrom
Legend-of-Link-27:feat/oot-shader-list
Nov 10, 2026
Merged

ly05010419 merged 1 commit into
ly05010419:mainfrom
Legend-of-Link-27:feat/oot-shader-list

Conversation

@Legend-of-Link-27

Copy link
Copy Markdown
Contributor

Adds 1,445 rows to games/oot/assets/shader_list.tsv in 1,446 added lines, recorded on a Mac
playing v131072. One file changed, nothing removed.

rows
V shader bind states 1,187
S shader libraries 167
R render pipelines 79
C compute pipelines 12
rows 1,445
plus one A bind-state name, which shader_list.py counts() keeps apart 1 line

The 180 mesh (M) rows are untouched, the list keeps its sorted order, and
shader_list.py stats passes before and after the merge.

What it changes, measured

One translator, one binary and one RomFS image; the list is the only difference between the two runs.

before after
listed bind states the seed translates 1,185 2,221
pso_manifest.tsv rows 5,147 5,219 (+56 S, +11 C, +5 R)
pso_title.tsv rows 0 0
shaders of OOT_SHADER_SUBSET=listed 7,497 7,505
rows the seed cannot build 0 0
rows of other game versions left out 0 0

Worth stating plainly: the two seeds differ in one file, pso_manifest.tsv. The extra bind states
are served by variants the seed already holds, so what this adds is the 72 warm-up rows and the 8
shaders of the listed subset — not the raw row count.

Tests

The six mesh list tests, test_shader_package (7), test_shader_corpus (4) and test_shader_seed (2)
pass. test_shader_libraries reports "0 compiled, 0 failed" on this host, which has no Metal compiler
(xcrun --find metal fails: xcode-select points at the Command Line Tools), so it checks nothing here.

What is not claimed

  • No stutter measurement. More warm-up rows do not prove the game stutters less; that needs a
    packaged build and a play session, and neither was done here.
  • Packaging was not exercised on this host. Besides the missing Metal toolchain, this machine's
    RomFS image is not the one assets/expected-v131072.json pins: 26,237,712,396 bytes against
    26,237,710,284. Recomputing the size from the NUP's own table of contents, with the integrated
    importer's order and alignment, gives this host's figure; no full re-extraction was run. Locating
    the difference needs the index of the pinned image, or a source that reproduces its hash.

Provenance

The rows were recorded on this Mac playing v131072. The initial capture was made while validating
Kolkka's experimental port in #1836 locally; the contribution was merged and verified against the
isolated OoT port already in main.

1,445 rows in 1,446 added lines, recorded on a Mac playing v131072: 1,187 V,
167 S, 79 R and 12 C, plus one A bind-state name that shader_list.py counts()
keeps apart. No row is removed and the 180 mesh (M) rows are untouched; the
list keeps its sorted order, and shader_list.py stats passes before and after.

Measured against this tree's own packaging, with one translator, one binary and
one RomFS image, changing only the list:

  listed bind states the seed translates   1,185 -> 2,221
  pso_manifest.tsv rows                    5,147 -> 5,219  (+56 S, +11 C, +5 R)
  pso_title.tsv rows                           0 ->     0
  OOT_SHADER_SUBSET=listed shaders         7,497 -> 7,505
  rows the seed cannot build                   0 ->     0
  rows of other game versions left out         0 ->     0

The two seeds differ in one file, pso_manifest.tsv: the extra bind states are
served by variants the seed already holds, so the gain is the 72 warm-up rows
and the 8 shaders of the listed subset, not the raw row count.

Tests: the six mesh list tests, test_shader_package, test_shader_corpus and
test_shader_seed pass. test_shader_libraries reports "0 compiled, 0 failed" on
this host, which has no Metal compiler, so it checks nothing here.

Not measured: whether these rows remove stutters in play. Packaging was not
exercised on this host (no Metal toolchain, and its RomFS image is not the one
assets/expected-v131072.json pins).
@ly05010419
ly05010419 merged commit 3b26391 into ly05010419:main Nov 10, 2026
4 checks passed
@ly05010419

Copy link
Copy Markdown
Owner

Merged in 3b26391 and pushed — thank you. Checked here against the desktop app's seed: shader_list.py stats passes, and resolve gives 5,219 pso_manifest rows (from 5,147), none the seed cannot build — the same numbers as yours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants