From 95b00428651733277b580ca4d7c095f1c367c9e4 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Sun, 8 Nov 2026 00:40:06 -0800 Subject: [PATCH] Bump RUNTIME_VERSION to 1875: a tiled texture of more than one level over a buffer's bytes inplace: Buffer::new_tiled_texture for Metal's private newTiledTextureWithDescriptor:offset:bytesPerRow: (the x86 guests' WindowServer asks it for 54x54 BGRA8 of 6 levels under the x86 Macs' featureProfile). One level is new_texture's texture. More levels: one image of every level, level 0 a shadow of the buffer's bytes kept in step at command boundaries (Route::Levels, Shadow(Mipmapped { levels }), the shadowed-texture notice naming the levels); levels 1+ are the image's own, blit sources and destinations and mipmap targets. Buffer:: tiled_texture_placement answers it. Evidence (inplace, M3 7543): 178/178 across tiled_texture, placement, linear_plan, buffer_texture, blit, shadow and mipmap tests; the six new device tests at 54x54/6 and 64x60/7 levels over a 16 KiB Shared buffer at bpr 256 (CPU writes reach level 0, level-0 blits reach the buffer's rows with padding untouched, generate_mipmaps fills level 1, levels 1+ round trip, one level in place, one notice). Negative control 7547 (blits on the bytes at every level): 3 of 6 fail. Pending: lavapipe, lint in 3 cfgs and the 780M run (gem10 7546). --- crates/metal2vulkan-validation/runtime-sources.sha256 | 2 +- crates/metal2vulkan/src/cache/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/metal2vulkan-validation/runtime-sources.sha256 b/crates/metal2vulkan-validation/runtime-sources.sha256 index ec7f329aa..e7f4e6ce0 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -967612283038b564ceff69b01cdad171ada1c54b680661554dfaa00e26e0a5f7 +089a68cba00329d03c53f7291bccf327e94bff2c3d10a62ebf2ecef77396ebad diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index 1fa878acf..5d70e9ef8 100644 --- a/crates/metal2vulkan/src/cache/mod.rs +++ b/crates/metal2vulkan/src/cache/mod.rs @@ -93,7 +93,7 @@ pub const ARTIFACT_FORMAT_VERSION: u32 = 493; /// changes no behaviour, and then updates that hash alone with the commit saying why, or changes /// behaviour and also bumps this version. The commit that bumps it says what changed; this comment /// keeps no history. -pub const RUNTIME_VERSION: u32 = 1874; +pub const RUNTIME_VERSION: u32 = 1875; /// The digest of the sources this build of the crate was compiled from: SHA-256, as lowercase hex, /// of the manifest, the build script, and exactly the files the crate roots' module tree compiles