⬆️ Build on metal2vulkan 1eaeb7079a's runtime

Pin 83 moves metal2vulkan from 86ecc71b54 (RUNTIME_VERSION 2255,
SEMANTICS_VERSION 2105, ARTIFACT_FORMAT_VERSION 521) to 1eaeb7079a (2258,
2106, 522). It carries:
- GPU-encoded indirect command buffers that inherit the encoder's
  buffers, render and compute, run on the GPU where a host step replayed
  them; a write route reaches only the indirect command buffers of its
  own command kind, so a compute ICB written in a command buffer no
  longer sends that buffer's render ICB to the host step; and
  host-replayed-indirect-commands names its cause once per cause
  (RUNTIME 2256). On metal2vulkan's XTX bench a frame went from 25.25 to
  5.47 ms, its host CPU from 22.85 to 1.19 ms;
- render targets placed apart in one Private placement heap keep no
  shadows (an XTX frame of 7 such targets 1.619 -> 0.530 ms, the 780M
  2.150 -> 0.548), and a heap texture's size and alignment are the
  device's own up to the heap's alignment, so the RX 7900 XTX answers
  256 KiB for multisampled colour (RUNTIME 2257);
- a device is made on at most 256 KiB of stack, its command-count shards
  built on the heap (RUNTIME 2258).

No degradation kind or runtime gap changes (247 and 80), and WorkCounts
gains nothing.

What the guest sees changes in timing, and on the XTX in
heapTextureSizeAndAlign's answer for multisampled colour textures.
SEMANTICS 2106 and ARTIFACT_FORMAT 522 miss every host's cached keys and
records, so each host's caches start fresh once.

The checks it reaches are the library's on the Mac and on each Linux
GPU class, rustdoc, and, since the XTX's heap answer changes what guest
frameworks choose and SEMANTICS 2106 what guest shaders compile to, a
cold boot of the x86 guest on the Iris, the 780M, the XTX and the RTX
2080 and the arm64 gate: the video crate, the window crate's register,
the guest sets, the option ROM and QEMU link nothing of the runtime's
changes and cannot move.

1eaeb7079a is metal2vulkan's GREEN: 94a0dbaf85 with its golden rows and
census re-blessed, which only metal2vulkan's own tests read.

Cargo.lock keeps its lines.
This commit is contained in:
Anees Iqbal committed 2026-11-13 21:08:25 -08:00
1 parent 3766ae772f
commit 36b382f9e0
1 file changed
+2 -2
+2 -2
View File
@@ -33,9 +33,9 @@ reims-vgpu-graphics = { path = "crates/reims-vgpu-graphics" }
reims-vgpu-video = { path = "crates/reims-vgpu-video" }
# The Vulkan platform's runtime (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 = "86ecc71b54a707f68e49d008cf1f4ddad14147e8" }
metal2vulkan-runtime = { git = "https://github.com/steelbrain/metal2vulkan", rev = "1eaeb7079ab8ccef1a0828aa3c0bd2da290d82f6" }
# Its translator, for the Metal enums and descriptor values the runtime's calls take.
metal2vulkan = { git = "https://github.com/steelbrain/metal2vulkan", rev = "86ecc71b54a707f68e49d008cf1f4ddad14147e8" }
metal2vulkan = { git = "https://github.com/steelbrain/metal2vulkan", rev = "1eaeb7079ab8ccef1a0828aa3c0bd2da290d82f6" }
# 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