From 89fc708348ed463b11769047703db8e6e1414f3e Mon Sep 17 00:00:00 2001 From: seedds Date: Tue, 13 Oct 2026 16:55:57 +0800 Subject: [PATCH] Shader chain: tool lock for Homebrew spirv-cross 1.4.363 / .NET 10.0.401 dmsh_chain.py --update-lock on a fresh Mac (Xcode 27.0, metal 32023.921 unchanged): the translator DLLs built here and Homebrew's spirv-cross have different fingerprints. Chain b1a4876b9511; dmsh_build gives the same result as documented (12809 / 12811 compile, the same 2 agl compute shaders make SPIRV-Cross throw) and c1_full.tsv lists the same 11 shaders. Another machine with other tool builds needs --update-lock + --header. --- dm/gfx/nvn/c1_full.tsv | 2 +- dm/gfx/nvn/dmsh_chain.h | 2 +- dm/gfx/tools/dmsh_chain.lock | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dm/gfx/nvn/c1_full.tsv b/dm/gfx/nvn/c1_full.tsv index 120d12b..2fd0a3b 100644 --- a/dm/gfx/nvn/c1_full.tsv +++ b/dm/gfx/nvn/c1_full.tsv @@ -1,4 +1,4 @@ -# chain b-3620e9b5e1bd 2026-10-13T08:39:12+08:00 +# chain b-b1a4876b9511 2026-10-13T13:45:58+08:00 35cbc686dd8461b8 4872bec9a5567f8b 54a618792b2d5f0f diff --git a/dm/gfx/nvn/dmsh_chain.h b/dm/gfx/nvn/dmsh_chain.h index 8a11090..9039dbf 100644 --- a/dm/gfx/nvn/dmsh_chain.h +++ b/dm/gfx/nvn/dmsh_chain.h @@ -1,2 +1,2 @@ // 生成文件(dm/gfx/tools/dmsh_chain.py --header):本源码树期望的 B 着色器库翻译链版本(缺省选项);宿主只加载 <库目录>/b-/ -#define DMSH_CHAIN "3620e9b5e1bd" +#define DMSH_CHAIN "b1a4876b9511" diff --git a/dm/gfx/tools/dmsh_chain.lock b/dm/gfx/tools/dmsh_chain.lock index a9eb53d..c925370 100644 --- a/dm/gfx/tools/dmsh_chain.lock +++ b/dm/gfx/tools/dmsh_chain.lock @@ -1,8 +1,8 @@ # 翻译链工具指纹(dmsh_chain.py --update-lock 生成;换工具后重生成并随提交入仓) -dmsh_xlate.dll 0ffb0716effb5d38 -Ryujinx.Graphics.Shader.dll 67d1ccb8b5e0cbd4 -Ryujinx.Common.dll 9374fa7b47958542 +dmsh_xlate.dll 6dd3441c31b57475 +Ryujinx.Graphics.Shader.dll 950b659a54a52636 +Ryujinx.Common.dll 74f785bc3a81386e xlate_source 23b85cb2e58b9c36 -spirv-cross f9480d48c62eb2d8 +spirv-cross d9dc197f061b42a5 metal_macosx Apple metal version 32023.921 (metalfe-32023.921.6) metal_iphoneos Apple metal version 32023.921 (metalfe-32023.921.6)