From 3dad05d1cbf5bad2b231fe71a91ae1e99f30a763 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Sun, 8 Nov 2026 23:19:52 -0800 Subject: [PATCH] RUNTIME_VERSION 1949 and the runtime-sources pin for stencil-only heap textures over combined images The three commits before this are nvreds' X32_Stencil8 fix, a bug reims found at pin 27. Heap textures of a pixel format with no depth aspect (X32_Stencil8, and Stencil8 over a combined image) now move their stencil alone. The test is structural: texel_units is copy_units minus the depth aspect the format does not present. They no longer announce restricted-depth-upload, which reported a clamp of depths those textures do not hold. A stored runtime artifact can see that the announcement changed, so RUNTIME_VERSION goes 1948 -> 1949 and the runtime-sources pin is recomputed: 19dd0107e3c354befc4b67ce969ca4cdfbe494dcb5f10e8fecb9833a3f44ba81. Verified at the tip 8afe3989e2 (on 242539b584) by nvreds: - M3 MoltenVK 11016: runtime unit tests (heap, texture, stencil, depth) 320/320; plain clippy clean; heap and depth lanes 61/61. The negative control fails at the base with "an X32Stencil8 texture announced restricted-depth-upload". - lavapipe 11017: the same lanes 61/61. Not run: Iris. The cherry-pick onto d4184690eb was clean; this tree is not yet built, and development's round runs it. api-signatures --check, refusal-surface and conformance-coverage leave the docs unchanged. --- 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 32489c703..b7aa33a09 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -18ae56cb799c595cee3cf629bdc599c35d4d3456e59dacab072c27dfd20a47bd +19dd0107e3c354befc4b67ce969ca4cdfbe494dcb5f10e8fecb9833a3f44ba81 diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index ca260159a..54e1c9616 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 = 496; /// 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 = 1948; +pub const RUNTIME_VERSION: u32 = 1949; /// 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