Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
0d84a3f
A console mode change at run time signals the style update events of …
seedds Nov 10, 2026
f1701b9
Guest files: S2Arm's GPU hang from F_PUNCHHOLE while rendering is rec…
seedds Nov 11, 2026
380ff71
The committed shader translator starts on macOS 26 again: its arm64 s…
seedds Nov 11, 2026
c823c3c
test_dmsh_pool_arrays passes reflect() the translator's cbufs list: e…
seedds Nov 11, 2026
f20f650
Mac: a raw HID pad is a player from its first button press, so a keyb…
seedds Nov 11, 2026
1d090a6
A uniform slot is bounded at its bound size rounded up to 256 bytes, …
seedds Nov 11, 2026
6a6a018
The prediction makes no pulling stand-in for a proposed pipeline key …
seedds Nov 11, 2026
81b21cb
The CPU conversion of vertex attributes takes ranges up to 64 MiB and…
seedds Nov 11, 2026
430ace1
Metroid Prime 4: Beyond (Switch, 1.1.0) plays on the Mac: its profile…
seedds Nov 11, 2026
707cac9
Textures that dynamic resolution resizes take their memory from the r…
seedds Nov 11, 2026
511a0a2
Unused border corrections are compiled out of pipelines that bind no …
seedds Nov 11, 2026
01ec314
Touch screen states are numbered from one count in docked and handhel…
seedds Nov 11, 2026
7ef8339
Switch 2 controllers with Press a button to join: a controller that c…
seedds Nov 11, 2026
3553400
An Ampere BRX finds its c1 jump table when the block that loads it wa…
seedds Nov 11, 2026
5714e32
The NSP script takes a fallback app icon: --fallback-icon / FALLBACK_…
seedds Nov 11, 2026
477b4f8
A DualSense keeps its left and right handle haptics when its server o…
seedds Nov 11, 2026
1e69c18
A write to a host page two pools share is no longer missed while a po…
seedds Nov 11, 2026
2d3fb83
A log line from a hook is written on the thread's host stack, and the…
seedds Nov 11, 2026
3e94079
The graphics layer's log lines are written on the host stack as the h…
seedds Nov 11, 2026
084f5aa
The graphics scale is tier 0 in both modes, so Switch 2 games draw th…
seedds Nov 11, 2026
8fb5ffe
Port The Binding of Isaac: Rebirth
seedds Nov 11, 2026
352e4a6
A storage takeover finds its candidates by pool cell instead of walki…
seedds Nov 11, 2026
f75ac06
A game's Mac shaders are compiled for the Mac host's minimum macOS, s…
seedds Nov 11, 2026
8b55ebb
The shader build finishes its shaders in worker processes, so a cold …
seedds Nov 11, 2026
47343a4
The controller applet leaves out the players past the game's maximum,…
seedds Nov 11, 2026
d2556cf
A re-upload of a texture taken from guest memory reads only the image…
seedds Nov 11, 2026
e2df31c
A serial entry that holds a view holds the textures it is a view of, …
seedds Nov 11, 2026
68dde14
A HID entry counts as a pad only while it sends reports, so one Pro C…
seedds Nov 11, 2026
07d6ea4
Cloud saves: the launchers ask which save to keep when both changed, …
seedds Nov 11, 2026
47607fe
A packaged texture's layout keeps its width alignment, so a texture w…
seedds Nov 11, 2026
9d60776
WriteTexels writes a linear texture by rows of its stride, so a nativ…
seedds Nov 11, 2026
4ce1449
oe::RequestToRelaunchApplication ends the application and starts it a…
seedds Nov 11, 2026
06c2ea4
A cloud-save pull swaps each of the cloud's folders in from this devi…
seedds Nov 11, 2026
4b616bb
Automated host runs keep cloud saves off, so a regression, benchmark …
seedds Nov 11, 2026
35a5aa2
A JIT plugin loads again from its data as rewritten and a zero bss, s…
seedds Nov 11, 2026
7c384e7
An OpenGL shader deleted while attached is only flagged and goes with…
seedds Nov 11, 2026
b149a1e
A Vulkan descriptor copied into a binding with immutable samplers tak…
seedds Nov 11, 2026
dc3b6cf
Merge upstream main (seedds/nxnative b149a1e4) into the fork
khalilgharbaoui Nov 11, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion dm/games/010012101468C000/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ No rendering key: what the game needed beyond the profile is general ([Found on

## Shaders

- **Resolved: an empty split** (only the startup archive's 8 shaders). Retro's forms are little-endian here, a pack's resource list sits in a `TOCC` form with 52-byte entries, and four vertex stages carry GLSLC data past their control section's own length: [SNVN program records in Retro Studios' RFRM forms](../../../docs/reference/shaders.md#snvn-program-records-in-retro-studios-rfrm-forms). 40,483 shaders: 20,233 vertex, 20,233 pixel, 12 geometry and 5 compute, from `MaterialArchive.arc` (1,141 stages), the 778 `MTRL` resources of the packs and the startup archive in `main` (`main+0x1d0e7a4`, 8 stages: the title logo's quads); 20,233 vertex / pixel pairs. The split takes about 6 minutes (most of it reading `DuplicateData.pak`), the Mac libraries about 17.
- **Resolved: an empty split** (only the startup archive's 8 shaders). Retro's forms are little-endian here, a pack's resource list sits in a `TOCC` form with 52-byte entries, and four vertex stages carry GLSLC data past their control section's own length: [SNVN program records in Retro Studios' RFRM forms](../../../docs/reference/shaders.md#snvn-program-records-in-retro-studios-rfrm-forms). 68,962 shaders: 34,472 vertex, 34,472 pixel, 12 geometry and 6 compute, from `MaterialArchive.arc` (1,156 first seen there), the 778 `MTRL` resources of the packs and the startup archive in `main` (`main+0x1d0e7a4`, 8 stages: the title logo's quads); 34,472 vertex / pixel pairs. The split takes about 10 s now that the packs are mapped (6 minutes when it read `DuplicateData.pak` whole).
- **Resolved: 28,479 shaders missing from the map** (found while bringing up [Metroid Prime 4: Beyond](../010019A01E2F2000/README.md)). Until then the map held 40,483: the reader passed over every program record whose control length is not a multiple of 0x40 (a stage with 12-byte entries after its section), 14,240 programs in all, 16 of them among the 583 of `MaterialArchive.arc`: [the same entry](../../../docs/reference/shaders.md#snvn-program-records-in-retro-studios-rfrm-forms). None was asked for on the route to the Frigate's deck (no `not in the shader map` line there). Whether one of them is behind the open reports below (Samus black on Tallon IV) is not known: no run has been made with the new libraries past the deck.
- **Resolved: `[RED] shader … reflection conversion failed: … c0 dynamic index c0+0x630`** and `Shader instruction Pixld is not implemented` in the build, `nvnProgramSetSampleShading` unimplemented. The game shades per sample: 438 of `MaterialArchive.arc`'s 562 pixel shaders read the sample index (`PIXLD.MYINDEX`), and 30 of them look up GLSLC's sample position table in the driver segment and pack the position into an integer G-buffer target: [Pixel `c0 + 0x620`: the sample index and GLSLC's sample position table](../../../docs/reference/shaders.md#pixel-c0--0x620-the-sample-index-and-glslcs-sample-position-table). Every render target met so far is single-sample (1600×900 docked).

## Rendering
Expand Down
4 changes: 2 additions & 2 deletions dm/games/010012101468C000/game.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ app_pool 0xCD500000
sys_resource 0x0

# ---- Shader split ----
# 40,483 shaders (20,233 vertex, 20,233 pixel, 12 geometry, 5 compute): MaterialArchive.arc, the MTRL resources of the world, preload and UI packs, and the startup archive in main;
# 20,233 vertex / pixel pairs
# 68,962 shaders (34,472 vertex, 34,472 pixel, 12 geometry, 6 compute): MaterialArchive.arc, the MTRL resources of the world, preload and UI packs, and the startup archive in main;
# 34,472 vertex / pixel pairs
shader_groups /Worlds/=worlds /Preload/=preload /UI/=ui
shader_note Metroid Prime Remastered shaders

Expand Down
1 change: 1 addition & 0 deletions dm/games/010012101468C000/shader_facts.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
5e7b1143791b2f5e {"local":[1,1,1],"shared":0}
69cd58320674359a {"local":[1,1,1],"shared":0}
a8bc736ec3903df2 {"local":[1,1,1],"shared":0}
b7b606ecbcb4bd06 {"local":[1,1,1],"shared":0}
bdfcfe6c708e4220 {"local":[1,1,1],"shared":0}
108,983 changes: 68,731 additions & 40,252 deletions dm/games/010012101468C000/shader_map.tsv

Large diffs are not rendered by default.

Loading