⬆️ Build on metal2vulkan development f8db87d844

Moves the runtime to metal2vulkan development f8db87d844. SEMANTICS moves from
2298 to 2300, so every host translates its guests' shaders again once and rt's
stored lowerings and render records re-key; ARTIFACT stays 595 and RUNTIME
stays 2550. Modules change only in whether an entry states the reconvergence
mode; metal2vulkan's Linux golden table at this commit differs from 2298's in
1,560 of 23,698 cells, all in the mode alone, and its bless is due.

What changes for the guest at this pin:
- A threadgroup barrier, and a kernel's group operation in a block the
  translator proves every thread of the threadgroup runs together, no longer
  make an entry state maximal reconvergence (or subgroup-uniform control flow),
  as a fragment function's derivatives already did at the last pin, unless one
  of them sits in a loop that a back edge re-enters from inside a selection,
  where it keeps the profile's mode. An entry with any other group operation
  keeps its mode, and a kernel compiled for partial threadgroups proves no block
  uniform. Without the mode SPIR-V reconverges where control flow rejoins at a
  merge, and a Workgroup barrier is defined where every invocation reaches the
  same dynamic instance, so both keep Metal's answers. On a device without
  maximal reconvergence such an entry no longer carries the
  device-reconvergence precision note.
- Under AMD's open Linux driver (AMDVLK 2025.Q2.1) on a Radeon 780M, which ran
  kernels under the mode at 9.4-11.4x RADV's GPU time, a recorded compute
  session's GPU time to frame 349 falls from 166.52 s to 59.22 s. A kernel whose
  group operation stands in a block the pass does not prove uniform keeps the
  mode and its cost there; rt's README lists it as a known gap.
- Values: metal2vulkan's compare-plays with buffer dumps read 0 of 1,749 buffers
  apart on RADV and Iris Xe, and on AMDVLK; the only buffers apart (one on
  AMDVLK, three on an RTX 3090, the same base against base) are an
  atomic-append kernel's outputs, whose record order is the atomic's. NVIDIA
  and Intel timing do not move at the card's resolution.
- The rest of the range is metal2vulkan's quad-helpers conformance cases and
  fixtures, its ledger and coverage, the golden table's bless at V, and rt's
  README.

For the host: no API change and no dependency change. rt's Metrics do not
change, so the counts line keeps every code.
This commit is contained in:
Anees Iqbal committed 2026-11-23 17:34:03 -08:00
1 parent e2313e51b1
commit c8419476fb
1 file changed
+2 -2
+2 -2
View File
@@ -33,11 +33,11 @@ reims-vgpu-graphics = { path = "crates/reims-vgpu-graphics" }
reims-vgpu-video = { path = "crates/reims-vgpu-video" }
# metal2vulkan's Metal types, for the Metal enums and descriptor values the runtime's calls take,
# from metal2vulkan's public repository at the commit both name.
metal2vulkan = { git = "https://github.com/steelbrain/metal2vulkan", rev = "7360a148bb43681024e6412c51d144ae6e8b2e0e" }
metal2vulkan = { git = "https://github.com/steelbrain/metal2vulkan", rev = "f8db87d844c9a2afefb552863751f5873ff764e3" }
# The Vulkan platform's runtime (architecture D1), metal2vulkan-runtime: a Metal-shaped API on
# Vulkan, one path for every device, under reims-vgpu-vulkan's `rt_platform` and `seam` and
# reims-vgpu's `pool::rt_blocks`.
metal2vulkan-runtime = { git = "https://github.com/steelbrain/metal2vulkan", rev = "7360a148bb43681024e6412c51d144ae6e8b2e0e" }
metal2vulkan-runtime = { git = "https://github.com/steelbrain/metal2vulkan", rev = "f8db87d844c9a2afefb552863751f5873ff764e3" }
# 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