The runtime-pin input test lists spirv/ir/intern.rs as not a runtime input
The test the_runtime_sources_are_the_committed_ones failed on development (full validation suite, m3-max-27765 atd72dc03519): the runtime inputs reach metal2vulkan/src/spirv/ir/intern.rs through bind/state.rs, which has used its FxHasher since RUNTIME 2226 (54752dd4f7) to key kept bind shapes and samplers, and the file is neither hashed nor listed. The hash only narrows which kept shapes a draw compares field by field; that comparison decides, so another hasher changes no run's answers. The file goes on the not-runtime list with that reason instead of into the pin's hash, which would re-pin on every translator interning change. Test infrastructure only: no version bump. Verified: the_runtime_sources_are_the_committed_ones on msi (m3-max-27822).
This commit is contained in:
1 parent
38a4a22675
commit
da739e4aa5
1 file changed
+1
@@ -194,6 +194,7 @@ fn the_runtime_sources_are_the_committed_ones() {
|
||||
("metal2vulkan/src/spirv/builder/mod.rs", spirv),
|
||||
("metal2vulkan/src/spirv/error.rs", spirv),
|
||||
("metal2vulkan/src/spirv/ids.rs", spirv),
|
||||
("metal2vulkan/src/spirv/ir/intern.rs", "the hasher (`FxHasher`) bind/state.rs keys bind shapes with: a key only narrows which kept shapes a draw compares whole, and the comparison decides, so another hash changes no run's answers"),
|
||||
("metal2vulkan/src/spirv/ir/mod.rs", spirv),
|
||||
("metal2vulkan/src/spirv/requirements/mod.rs", "the SPIR-V requirements tables: the runtime reads only `extended_format`, whether a storage image format needs `StorageImageExtendedFormats` (SPIR-V's fixed format table), through the view formats a texture lists (metal/format's `storage_view_formats`); the pipelines that write through those views are compiled with the same answer, which the artifact digests"),
|
||||
("metal2vulkan/src/spirv/serialize/mod.rs", spirv),
|
||||
|
||||
Reference in new issue
Block a user