From 19b5e99b9b08a6aef85bab1897241cdc41fb7934 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Wed, 25 Nov 2026 12:03:11 -0800 Subject: [PATCH] =?UTF-8?q?Validation:=20the=20runtime=20guard's=20hash=20?= =?UTF-8?q?for=20the=20deleted=20indirect-command=20and=20Y=E2=80=B2CbCr?= =?UTF-8?q?=20planes=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The suites job m3-max-73743 at efd3aa17a1 failed one test, candidate::engine::artifact::tests::the_runtime_sources_are_the_committed_ones: this stack edits twelve runtime guard inputs. No run of a given artifact changes, so the hash alone moves: - indirect_commands.rs, indirect_commands/host.rs and descriptor.rs lose only items nothing calls (04070aeb56 names their zeros) and docs; every item a run reaches is unchanged. - vk/structs.rs loses SamplerDesc's and SamplerKey's `ycbcr` and SamplerDesc::ycbcr, and metal/sampler.rs its `ycbcr: None`. At 733b14ed24, `git grep -nE '\.ycbcr([^_a-zA-Z]|$)|ycbcr: (Some|None)|SamplerDesc::ycbcr' 733b14ed24 -- 'crates/*.rs'` shows the only `Some` was SamplerDesc::ycbcr, called only from pipeline/link.rs's ResourceKind::YCbCrPlanes arm, which nothing constructed (60cf39099e), and the field's only read copied it into SamplerKey. Every run's sampler had `ycbcr: None`, so its creation and its key are the same. The artifact codec's SamplerDesc lost the field, and 60cf39099e bumped ARTIFACT_FORMAT_VERSION for that. - bind/ycbcr_convert.rs and bind/mod.rs lose YCbCrPlanesSampler, which nothing constructed. bind/indirect_commands.rs's re-export list shrinks by the deleted items. - ash_interop/convert.rs, ash_interop/query.rs, device/description.rs and device/khronos.rs change in comments only. The value, 8d8c9df1a81c345dc071876868d550a19e9b2fb82e69084b1d621493946e6538, comes from build.rs's hash: its listed inputs plus bind/'s non-test sources, sorted, each hashed as its relative path, a zero byte, its length as a little-endian u64, then its bytes. Computed the same way at 733b14ed24, it reproduces that commit's committed b484a6b037e2ae562f5a3c89313babecbce60262b0adbe70508e73426167dff8. How verified: the suites check runs again at this commit. --- crates/metal2vulkan-validation/runtime-sources.sha256 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/metal2vulkan-validation/runtime-sources.sha256 b/crates/metal2vulkan-validation/runtime-sources.sha256 index bf94b8b54..b4949b186 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -b484a6b037e2ae562f5a3c89313babecbce60262b0adbe70508e73426167dff8 +8d8c9df1a81c345dc071876868d550a19e9b2fb82e69084b1d621493946e6538