Files
metal2vulkan/crates
Anees Iqbal c77d2b4214 Validation: the runtime guard's hash for lower/dispatch.rs's threadgroup_constants
lower/dispatch.rs is one of the runtime guard's inputs (the dispatch-region encoding). Its change
here is the deep kernel's WorkgroupSize parts, which the compile emits into the pipeline the
artifact digests, and threadgroup_constants, which writes for a threadgroup the values the
runtime wrote before (LocalSize, FlatLocalSize, DeepThreadgroup) plus the WorkgroupSize parts,
which take the values the old OpSpecConstantOp parts computed: no run on a conforming driver
changes, so the hash alone moves (7e32c33f29ba265f1d48f88e8dab3760cab59cd2907c8d2c58d18d444711f23b). Computed with the build's rule (path, NUL, length, bytes
over the sorted inputs), which gives the committed hash at f8181e2a6c and the one job
m3-max-70464's guard test printed at e285df75ba; the guard test checks it at this tip.
2026-11-23 01:49:51 -08:00
..