⬆️ Build on metal2vulkan 2e381ae1f0's runtime

Pin move 22: metal2vulkan development 9316c1aa3f..2e381ae1f0,
RUNTIME_VERSION 1876 -> 1890, SEMANTICS_VERSION 1992.
What changes for the guest and the host:
- Textures over CPU-visible device caches and laid-out buffers whose padding
  is unobserved stay in place at any size and at their own pitch (the pooled
  bound now applies to tracked Private memory only): on the Iris four 5 MB
  tiles a frame cost 464/428 us where they cost 1000/833 us, and a
  desktop-sized texture on the Radeon 780M 2.69 ms where it cost 6.1 ms;
  pooled textures made before their check move in place once it passes.
- 1- and 2-byte texels a shader writes go in place where their own check
  passes, and the Iris's dma-buf pages take the in-place check.
- copy_to_host_ram and copy_from_host_ram take runs that start on a 4-byte
  word and end at any byte, and word runs take the page kernel: a laid-out
  cache's texel rows copy without a view of their pages (on the Iris a
  31.5 MB BGRA surface downloads at 0.83 ms of GPU with no mappings).
- macOS 11's Core Image metallibs parse (they were refused as malformed).
- Exit safety: the exit hook re-registers after each pipeline making, and a
  teardown racing the exit leaves the device to process end (RTX 5080 exit
  p90 932 -> 411 ms).
- Per-draw host CPU cuts (M3: -3.7% instructions, -4.4% ns per draw).
- New, not yet called here: BufferDescriptor::with_aligned_byte,
  Device::identities_with, DegradeNotice::command_buffer.
Not in this pin: metal2vulkan 8329c9e954 (in-place YCbCr policy for the
500-505 formats, which our guest does not make).
This commit is contained in:
Anees Iqbal committed 2026-11-08 06:56:43 -08:00
1 parent 24fa54079b
commit 81f1877350
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 = "9316c1aa3fceecd7475d5d03c5275414ea26f4d2" }
metal2vulkan-runtime = { git = "https://github.com/steelbrain/metal2vulkan", rev = "2e381ae1f0564fb01a76a9e564abf2b1759f27e9" }
# Its translator, for the Metal enums and descriptor values the runtime's calls take.
metal2vulkan = { git = "https://github.com/steelbrain/metal2vulkan", rev = "9316c1aa3fceecd7475d5d03c5275414ea26f4d2" }
metal2vulkan = { git = "https://github.com/steelbrain/metal2vulkan", rev = "2e381ae1f0564fb01a76a9e564abf2b1759f27e9" }
# 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