⬆️ Build on metal2vulkan development 0b0ac58eb0

metal2vulkan's runtime now rounds a GPU time's nanoseconds to the nearest,
not down (5089a1570a). A span of ticks of a period an f32 cannot state
exactly came out a nanosecond short: 96 ticks of the Iris Xe's 19.2 MHz
clock are 5000 ns, and the cast gave 4999. Every GPU span and placed time
goes through the two expressions it changes: a command buffer's GPUStartTime
and GPUEndTime, the held-start gaps and the runtime's GPU-time count.

The rest of the range, 6 commits from 2b4219047e, is tests: the GPU-time
duration, host-clock and calibration tests the old runtime's deletion took,
and three guards of earlier fixes (each value a GPU signal raises is
confirmed by a host wait before the host sees it; Shared coherence's counts
held to the flush and invalidate calls made; a whole copy in moves from
undefined). No translator change, so no guest kernel is translated again.

What changes for the guest: a command buffer's GPU start and end times can
be a nanosecond later than before, the nearest the GPU's ticks allow.
This commit is contained in:
Anees Iqbal committed 2026-11-27 06:42:49 -08:00
1 parent 09598dc7ed
commit 85fbaa616e
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 = "2b4219047e3b6e4df45ff59f759b9a5b70131264" }
metal2vulkan = { git = "https://github.com/steelbrain/metal2vulkan", rev = "0b0ac58eb0f69ed3b37007fbdf3b135a46f90699" }
# 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 = "2b4219047e3b6e4df45ff59f759b9a5b70131264" }
metal2vulkan-runtime = { git = "https://github.com/steelbrain/metal2vulkan", rev = "0b0ac58eb0f69ed3b37007fbdf3b135a46f90699" }
# 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