Validation: the runtime guard's hash for the deleted indirect-command and Y′CbCr planes code
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`. At733b14ed24, `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 at733b14ed24, it reproduces that commit's committed b484a6b037e2ae562f5a3c89313babecbce60262b0adbe70508e73426167dff8. How verified: the suites check runs again at this commit.
This commit is contained in:
1 parent
794fa13f4b
commit
19b5e99b9b
1 file changed
+1
-1
@@ -1 +1 @@
|
||||
b484a6b037e2ae562f5a3c89313babecbce60262b0adbe70508e73426167dff8
|
||||
8d8c9df1a81c345dc071876868d550a19e9b2fb82e69084b1d621493946e6538
|
||||
Reference in new issue
Block a user