diff options
| author | Alfredo Peres <alfredoperes0310@gmail.com> | 2026-12-01 14:21:31 -0300 |
|---|---|---|
| committer | Alfredo Peres <alfredoperes0310@gmail.com> | 2026-12-01 14:21:31 -0300 |
| commit | de550f7cbfecfa094fdc80a2a384d5b314ba525b (patch) | |
| tree | b9bde2aa3119aefb7c7ceff981667ae0f7385041 /scripts/export_github_metadata.py | |
| parent | 0cbc9e93abb08a5efc6ea6e5489c1324c00a55ce (diff) | |
d3d12-loader: the Series S budgets follow the highest scale the title can reach
Review of 0cbc9e93a (KelboLive):
- The budgets followed the lowest scale, so -Lowest 720 on Series S (LEONIDA_RENDER_SCALE_MIN=0.6667) got none.
The title's own upscaler stores its minimum at 0x28f1e78 and its maximum at 0x28f1e87 as max(minimum, f()). f() at
0x1fb4300 is 1.0 on Series S and 2/3 elsewhere. So with that upscaler forced and no pinned scale, Series S may
render up to 1.0 whatever the lowest. The budgets now follow the ceiling:
- a pinned scale is its own ceiling;
- the own upscaler with no pinned scale has a ceiling of 1.0, as with -Lowest or the F1 menu's OWN UPSCALER;
- with neither, the ceiling is the lowest asked for.
- The call sites are covered now. resolution_levers reads the environment (Levers::from_env), checks the build and
calls apply_levers. the_levers_give_series_s_its_budgets_for_the_highest_scale_it_can_reach runs apply_levers on
an image buffer for -Resolution 1080, -Lowest 1080, -Lowest 720, the own upscaler alone, pinned 2/3, a pinned
scale over a lowest one, and FSR alone. It fails when the budgets are dropped from apply_levers, and with the old
floor rule.
cargo test -p leonida-loader --lib: 87 passed. cargo clippy -p leonida-loader --all-targets -- -D warnings: clean.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'scripts/export_github_metadata.py')
0 files changed, 0 insertions, 0 deletions