From a3f1b769b1384deeb8cb0c291d024c824b826dbf Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Tue, 17 Nov 2026 17:22:12 -0800 Subject: [PATCH] validation: the runtime guard lists pipeline/compile/partition.rs as compile-time translation The fitted-tile commit (0a82834fd2) made lower/dispatch.rs, a runtime input, reach pipeline/compile/partition.rs through plan_kernel's grid edge, so the guard failed with a file neither an input nor listed. partition.rs decides from a kernel's AIR, at compile time, whether the kernel observes its threadgroup partition; the plan's grid edge it feeds is in the pipeline the artifact digests, and no run reads it otherwise. Listed with that reason, the inputs and the pinned runtime-sources hash are unchanged. --- .../src/candidate/engine/artifact/tests.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/metal2vulkan-validation/src/candidate/engine/artifact/tests.rs b/crates/metal2vulkan-validation/src/candidate/engine/artifact/tests.rs index fe0bcb1fb..123c20efd 100644 --- a/crates/metal2vulkan-validation/src/candidate/engine/artifact/tests.rs +++ b/crates/metal2vulkan-validation/src/candidate/engine/artifact/tests.rs @@ -177,6 +177,7 @@ fn the_runtime_sources_are_the_committed_ones() { ("metal2vulkan/src/pipeline/artifact.rs", values), ("metal2vulkan/src/pipeline/compile.rs", compile), ("metal2vulkan/src/pipeline/compile/key.rs", "the compile's cache key, which the artifact digest excludes"), + ("metal2vulkan/src/pipeline/compile/partition.rs", "compile-time translation, reached only from the compile-time part of lower/dispatch.rs (plan_kernel's grid edge: whether a kernel observes its threadgroup partition, decided from its AIR); what it produces is in the pipeline the artifact digests"), ("metal2vulkan/src/pipeline/descriptor.rs", "compile-time translation, reached only from the compile-time parts of mixed runtime files; what it produces is in the pipeline the artifact digests (the pipeline descriptors)"), ("metal2vulkan/src/pipeline/facts.rs", values), ("metal2vulkan/src/pipeline/graphics.rs", "the compiled pipeline's value types; the artifact digests their values (the graphics state)"),