Skip to content

Sync upstream a662f29e → ee6648cb (26 upstream commits) - #238

Merged
LNPANDY merged 1 commit into
mainfrom
sync/upstream-ee6648cb
Oct 30, 2026
Merged

LNPANDY merged 1 commit into
mainfrom
sync/upstream-ee6648cb

Conversation

@LNPANDY

@LNPANDY LNPANDY commented Oct 30, 2026

Copy link
Copy Markdown
Owner

What and why

The nightly bump has been blocked at 0005-nsp-dotnet-home since 2026-10-30 01:12 (issue #235), so main stayed on a662f29e while upstream moved 26 commits. This unblocks it and carries today's fixes.

Relevant to the reports: an app packed on this Mac compiled every Metal 4 pipeline base on its first start because the pipeline archive was stamped with the SDK's major version instead of the Mac's (8e0916bf, issue seedds/nxnative#673) — a Metal 4 archive opens only on the major system version it was made for. Also in: sampler border colours Metal lacks via a twin sampler (6670f328, #607), same-pass feedback snapshots without per-game lists (c692ba05, dropping Wonder's feedback_snap key), NVN logic operations through a chain-built library (a68bfd93, #643), NSP title IDs from the package's own meta NCA (#666), stale shader library removal (#682).

Two fork patches landed upstream and are dropped: nsp-title-id-from-package (#666) and nsp-script-remove-the-shader-libraries-of-older (#682).

Checked

  • python3 scripts/patches.py check — 21 patches apply to ee6648cb and give the committed vendored tree (2433 files).
  • python -m unittest discover -s scripts/tests — 40 tests OK.
  • python3 dm/tools/tests/test_docs.py — 11 tests OK (gallery regenerated: GAMES.md).
  • python3 dm/ios/tools/compile_check.py — running here; CI's job is the authority.
  • Not checked here: host unit tests, gfx tests and a gameplay run (CI runs the first two; the archive change needs a build on this Mac to confirm the bases load from the archive instead of compiling at first start).

Queue resolutions worth a reviewer's eye: 0009-mac-keymap's header comment was merged by hand (upstream rewrote the same lines for pad_apple.h); 0028-cheats-engine keeps both dm_rec_finish and dm_cheats_exit in the shutdown path; 0008-bc-cpu-decode adds tex_bc_cpu to SWITCH_BINDING, which the doc generator now requires for every profile key.

Scope

  • No vendored file is edited directly: patches/ follows patches.py (check passes), Upstream-Status kept on every carried patch
  • Engine fixes are upstream's: this only moves the pin and re-serializes the fork's patches
  • No keys, game files or data extracted from a game

@github-actions github-actions Bot added documentation Improvements or additions to documentation ios iPhone or iPad mac Mac patch-queue Changes the patch queue or the upstream pin labels Oct 30, 2026
Carries today's upstream fixes, including the Mac pipeline archive stamped for
this Mac's major system version (8e0916b, issue #673) — a Metal 4 pipeline
archive only opens on the major version it was made for, so an app packed here
compiled every base on its first start — the sampler border colours Metal lacks
(6670f32, #607), same-pass feedback snapshots without per-game lists
(c692ba0, which drops Wonder's feedback_snap key), NVN logic operations
through a chain-built library (a68bfd9, #643), NSP title IDs from the package's
own meta NCA (#666), and the removal of stale shader library folders (#682).

Two fork patches landed upstream and are dropped: nsp-title-id-from-package
(#666) and nsp-script-remove-the-shader-libraries-of-older (#682).

Resolved in the queue:
- 0005-nsp-dotnet-home: keep upstream's new contextlib import beside the
  patch's pwd import.
- 0009-mac-keymap: upstream rewrote the same header comment (labels from
  pad_apple.h); the code hunks applied cleanly, the comment was merged by hand.
- 0018-nsp-dotnet-root-verify, 0028-cheats-engine, 0031-front-mac-dm-screen:
  applied by hand (upstream moved the surrounding lines); cheats keeps both
  dm_rec_finish and dm_cheats_exit in the shutdown path.
- 0008-bc-cpu-decode: tex_bc_cpu classified in docs_patches.py SWITCH_BINDING,
  which the doc generator now requires for every profile key.
- GAMES.md: gallery regenerated (two new upstream gallery rows).

patches.py check: 21 patches apply to ee6648c and give the vendored tree.
@LNPANDY
LNPANDY force-pushed the sync/upstream-ee6648cb branch from e47df1c to baaa76b Compare October 30, 2026 08:22
@LNPANDY
LNPANDY merged commit fc91e89 into main Oct 30, 2026
10 checks passed
@v0lumehi
v0lumehi deleted the sync/upstream-ee6648cb branch November 2, 2026 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation ios iPhone or iPad mac Mac patch-queue Changes the patch queue or the upstream pin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants