From 196c253bc02eff787504e0530778984c7e3625fe Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Mon, 16 Nov 2026 19:30:20 -0800 Subject: [PATCH] :arrow_up: Build on metal2vulkan 61d8e1cbcb's runtime Moves both metal2vulkan revs from 24a0613783 to 61d8e1cbcb (RUNTIME 2473 -> 2497, SEMANTICS 2139 unchanged). The runtime carries two fixes over 24a0613783 and nothing else of its later work. No Degradation kind is added or removed. The runtime's public API gains one WorkCounts field, scheduler_at_commit_left_slow_calls. What changes for the guest: - On a GPU whose vkQueueSubmit calls are slow (each of a queue's last 15 at 100 us or more), a command buffer's commit leaves its batches to the runtime's scheduler thread instead of submitting them itself (RUNTIME 2497). Since RUNTIME 2461, parts were submitted inside the commit call, which cost the 780M ~200-250 us a part against ~20 us before (an 08:00 vs 18:30 A/B on gem10: warm Launchpad opens 13.6 -> 15.5 ms) and the Iris 270-440 us against 31-49 us. - A spliced shadow's staged whole lines go back into the guest's pages as row copies, as before RUNTIME 2431 (RUNTIME 2494). --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 68bef81e5..6e0e5545f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 = "24a0613783a7fee3b0f2cb6feb4b441d2b8c0a91" } +metal2vulkan-runtime = { git = "https://github.com/steelbrain/metal2vulkan", rev = "61d8e1cbcbbd07564c7c969961c0dc78c07f1432" } # Its translator, for the Metal enums and descriptor values the runtime's calls take. -metal2vulkan = { git = "https://github.com/steelbrain/metal2vulkan", rev = "24a0613783a7fee3b0f2cb6feb4b441d2b8c0a91" } +metal2vulkan = { git = "https://github.com/steelbrain/metal2vulkan", rev = "61d8e1cbcbbd07564c7c969961c0dc78c07f1432" } # 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