- Shader translator (Vulkan pack only): pixel shaders store 0 instead of NaN in float color outputs (XLATE_NAN_OUT=0 disables). ps_foliage occasionally writes NaN pixels on Adreno; the downsample / bloom chain spread them into blocks. Float min/max/clamp use NMin/NMax/NClamp like Maxwell FMNMX / .SAT (XLATE_NAN_MINMAX=0 disables). - Vulkan backend: pending full clears become loadOp=CLEAR (DM_NVN_TBDR=0 disables); TBDR / store profile stats; per-batch command pools and query reset. - Trace diagnostics: NaN / Inf scan of float targets (DM_VK_NANSCAN_PS, DM_VK_NANSCAN_BOX), burst readback of the top rows (DM_VK_BURST*). - nvn_dirty: protection unit max(pagesize, 16K) to stay under the VMA limit (mprotect ENOMEM crash); log the process mapping count. - Upload-MB stat underflow fix; t_vk_perf test fix. 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。