Files
shenleiandClaude Opus 5.5 1ceeeaba77 Android: NaN-free float color outputs against the top-of-screen flicker blocks; TBDR clears; mprotect ENOMEM fix
- 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>
2026-10-14 19:36:26 +09:00
..
2026-10-12 16:51:08 +08:00
2026-10-12 16:51:08 +08:00
2026-10-12 16:51:08 +08:00
2026-10-12 16:51:08 +08:00
2026-10-12 16:51:08 +08:00

dm/third_party: third-party code

中文: README.zh-CN.md

This is code written by others, shipped with the repository so there is nothing to download. Each component keeps its original license, and the license file sits in its own directory.

Directory What it is Version and changes Where it is used License file
bcdec/ Decompression of BC-compressed textures, a single header bcdec.h 0.985 (upstream commit 80859ed), unmodified Graphics layer: decompresses textures on the CPU when the GPU does not support BC formats (dm/gfx/tex/nvn_bcdec.c) bcdec/LICENSE (MIT or Unlicense, your choice)
flip/ NVIDIA FLIP, an image difference metric that models human viewing. FLIP.h plus the source of the command-line tool in tool/ Not recorded in the directory Verification: the image quality measurements in dm/verify/gfxq/; build flip first with make -C dm/third_party/flip flip/LICENSE (BSD 3-Clause)
libdeflate/ Decompression library Upstream commit 92e6a0d, unmodified Host: zlib decoding of the game's resource blocks (dm/host/hle_tact.c). Only the five decompression-related source files are built; they are listed in dm/host/Makefile libdeflate/COPYING (MIT)
ryujinx/ The shader translation library from Ryujinx, three projects: Ryujinx.Graphics.Shader, Ryujinx.Common, Spv.Generator Ryujinx 1.3.2, unmodified Referenced by the shader translation tool dm/gfx/tools/dmsh_xlate, which translates the original Switch shaders to SPIR-V ryujinx/LICENSE.txt (MIT); ryujinx/src/Spv.Generator/LICENSE is that subproject's own license text

A few more notes:

  • flip/tool/ also carries three single-header libraries used by the FLIP command-line tool: stb_image.h (2.23), stb_image_write.h (1.13) and tinyexr.h. Their license notices are in the files themselves.
  • bcdec/README.md, libdeflate/VERSION.md and ryujinx/README.md record where each came from and what it is used for.
  • Upstream addresses and licenses are summarized under "Third-party code in this repository" in docs/DEPENDENCIES.md. That section also lists two pieces of third-party code outside this directory: dm/gfx/nvn/include/nvn.h (MIT, author named in the file header) and the layout size algorithm in dm/gfx/nvn/nvn_tex.c, ported from deko3d (zlib license).