Repository navigation
Overcooked! All You Can Eat: profile and Unity shader keys (patches 0100, 0101) - #372
TeeJayBaker wants to merge 1 commit into
Conversation
|
Thanks for the profile. The size of the diff (78k lines) looks like the shader tables and screenshots, is that right? It is in v1.1.3. Engine changes go to seedds/nxnative first, as |
|
Yes, nearly all of it is patch 0055's generated tables: The upstream PR is seedds/nxnative#836, already in the patch headers. |
|
Thanks for the explanation of the size: generated tables and one binary screenshot, small hand-written parts. That is fine. The engine moves to a newer pin for v1.0.2, so the three patches may need a refresh afterwards. I will write here when the bump is in |
v0lumehi
left a comment
There was a problem hiding this comment.
Thanks @TeeJayBaker for the Overcooked profile and for explaining why the tables are large. The three patches have valid headers and the Unity keys are a nice addition.
- Rebase on the current main.
patches/series,GAMES.md,GAMES.zh-CN.md,README.mdandREADME.zh-CN.mdconflict, and the numbers 0054 to 0056 are taken. Please regenerate the profile counts after the rebase. I renumber at merge. - In patch 0054,
unity_pass_drawnruns for every pass of every Unity game and callst['first'].upper()even whenunity_skip_passesis empty. A tag entry withoutfirstorsecondwould break the split for other Unity games. Please return early withif not UNITY_SKIP_PASSES: return True, and re-split one other Unity game to show it is unchanged. - Patch 0056 is a new launcher setting (Frame rate), not a profile change, and it was not run in a front end. A change to how the launcher works starts as an issue. Please split it out into its own PR with an issue.
Next: after the rebase and the split I review again. The profile part stays in v1.1.3.
|
@TeeJayBaker this PR conflicts with main in My review from Nov 5 still has two open points.
The profile patches also wait for seedds/nxnative#836, which is still open. |
b9a9ebb to
007244d
Compare
|
Thanks, all three are done.
|
…102, 0103) Rebased on main. 0102 (Unity keys): unity_pass_drawn returns early when unity_skip_passes is empty, so a profile without the key reads no pass tag. 0103: the Overcooked profile, refreshed on c78d7375. The Frame rate patch moves to its own pull request. GAMES.md, GAMES.it.md and GAMES.zh-CN.md get the Overcooked row, and the profile counts are 148 (the 147 rows of the tables, plus Overcooked).
…vercooked, Monster Train 2) Split out of LNPANDY#372, on top of it (it edits Overcooked's profile files). Issue LNPANDY#1043.
007244d to
f71eaed
Compare
|
Per CONTRIBUTING.md (Helping with games), new game profiles and Unity shader split keys go directly to upstream seedds/nxnative first. Please open a pull request there. Thank you! |
Fix or feature
What and why
A profile for Overcooked! All You Can Eat (
0100F28011892000, update 1.0.11 = v720896, Unity 2019.4.11f1), carried as two patches until seedds/nxnative#836 lands. Refs #369.0102: three optional profile keys inshader_split.py(unity_tier,unity_skip_keywords,unity_skip_passes) that leave out the Unity programs the player never draws: other hardware tiers, keyword variants the game data never enables, and the editor-only Meta pass. Without the keys nothing changes, andunity_pass_drawnreturns before reading any pass tag.0103: the game's profile. With the keys its split goes from 520,394 shaders (2.3 GB package) to 45,221 (198 MB). It also setsdepth_mode zeroandpresent_interval display(60 fps). The game note has the evidence for each cut and its limits.The Frame rate choice that was
0056is now #1044 (issue #1043), stacked on this one.GAMES.md,GAMES.it.mdandGAMES.zh-CN.mdget the row, and the counts are 148 there and in the six READMEs. TheGAMES.mdgallery is regenerated with the screenshot. Its image links to upstream's pinned commit, so it shows once #836 lands and the pin moves.Checked
python3 tools/engine.py check(69 patches apply cleanly to c78d7375bea9),tools/tests. Inengine/:test_unity_tier.py(a new test: a pass tag withoutfirstraisedKeyErrorbefore the early return),test_docs.py,test_launcher_settings.py,test_settings.py, the 72 split tests.unity_*keys removed, which is what every other Unity profile looks like, once with main'sshader_split.pyand once with this one. The four tables (shader_map.tsv,shader_facts.tsv,shader_pairs.tsv,pso_pairs.tsv) and the 2.3 GB package are byte-identical: 520,394 shaders each.Screenshots
None, no visible change in the launcher.
Scope
dm/,scripts/,docs/,ref/) is added to the repository: a change there is a patch inpatches/(a commit inengine/, thentools/engine.py export, andtools/engine.py checkpasses), with itsUpstream-Statusforwarded seedds/nxnative#..., orpendinguntil that PR is open