mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-16 15:59:59 -04:00
Shaders: a switch whose index is clamped against a register that a MOV of an immediate set before it now finds its jump table (AmpereLowering.cs BrxTargets), so all 36,031 of the game's shader variants translate and no draw is skipped for a failed one. The compare-and-swap loop behind storage-buffer atomics (patch 0033) takes the value a failed swap returns as its next expected value instead of loading the word again, which on some drivers kept returning a stale copy. Memory: an unused physical pool outlives the submission being recorded, as virtual pages may still reach it through device addresses; an image whose creation failed is not tried again for 2 s. The installer and Linux texts name this game. The README has the project icon, the current status, features, requirements and known issues. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ryujinx shader translator (vendored subset)
Three projects from Ryujinx 1.3.2, unmodified: Ryujinx.Graphics.Shader, Ryujinx.Common and Spv.Generator.
The shader translation tool in dm/gfx/tools/dmsh_xlate references them to translate the original Switch shaders to SPIR-V.
License: MIT, see LICENSE.txt. Upstream: https://github.com/Ryubing.
Ryujinx 1.3.2 的三个项目,未做修改:Ryujinx.Graphics.Shader、Ryujinx.Common、Spv.Generator。
dm/gfx/tools/dmsh_xlate 的着色器翻译工具引用它们,把 Switch 原版着色器翻译成 SPIR-V。许可证 MIT,见 LICENSE.txt。