⬆️ Build on metal2vulkan cd511955f7's runtime

Move the runtime from 219f01365d to cd511955f7, three commits:
- 510cb01c4c: a module built with Metal debug info (Xcode's
  MTL_ENABLE_DEBUG_INFO, -gline-tables-only -frecord-sources) compiles where it
  was refused as Abi(UnknownKey). SEMANTICS_VERSION 1929 -> 1930.
- ec6b322bb5: a Mach-O universal metallib (FAT_MAGIC 0xCAFEBABE or
  FAT_MAGIC_64 0xCAFEBABF), the form the system's universal metallibs take, is
  read by its AIR slice (CPU type 0x01000017) where it was refused as BadMagic.
  The library keeps and hashes only that slice.
- cd511955f7: the runtime sources' digest, recomputed.

Checks on the Mac: clippy with every feature, with the tested features, and for
x86-64 Linux; cargo nextest of reims-vgpu-vulkan and reims-vgpu, 905 tests: 792
pass and 113 fail, the same 113 that fail at 219f01365d on this Mac's MoltenVK.

Not run: the Linux GPU legs. The homelab hosts did not answer from the Mac, and
msi's RTX 5080 was held by the reims-graphics lane's VMs. The change is in how
the runtime reads a metallib's container and metadata, which runs the same on
every GPU.

The pinned commit is metal2vulkan's local development, not yet published.
This commit is contained in:
Anees Iqbal committed 2026-10-31 02:25:41 +02:00
1 parent 1fe0acb68b
commit 0e88fde0d9
1 file changed
+2 -2
+2 -2
View File
@@ -42,9 +42,9 @@ reims-vgpu-video-nvidia = { path = "crates/reims-vgpu-video-nvidia" }
reims-vgpu-video-videotoolbox = { path = "crates/reims-vgpu-video-videotoolbox" }
# The Vulkan platform's proof of concept (architecture D1): a Metal-shaped API on Vulkan, from
# metal2vulkan's public repository at the commit both name.
metal2vulkan-runtime = { git = "https://github.com/steelbrain/metal2vulkan", rev = "219f01365dc4c8eb346816c405b5b17403793764" }
metal2vulkan-runtime = { git = "https://github.com/steelbrain/metal2vulkan", rev = "cd511955f76f52b7ff4a0d1f47e1302162a52cae" }
# Its translator, for the Metal enums and descriptor values the runtime's calls take.
metal2vulkan = { git = "https://github.com/steelbrain/metal2vulkan", rev = "219f01365dc4c8eb346816c405b5b17403793764" }
metal2vulkan = { git = "https://github.com/steelbrain/metal2vulkan", rev = "cd511955f76f52b7ff4a0d1f47e1302162a52cae" }
# The hashes of the Vulkan platform's metallib sources (reims-vgpu-vulkan/build.rs).
sha2 = "0.10.9"
# A display window's swapchain on Linux (reims-vgpu-vulkan/src/swapchain.rs), at the runtime's