decide() moved an observer's whole grids and threadgroup dispatches onto the
partial-threadgroups variant but left its indirect dispatches on the plain
module, so a state dispatched both ways made a second VkPipeline of the same
size on the first indirect dispatch. By the translator's dispatch regions
(lower::dispatch), an indirect dispatch states region[1].xyz = 0 and takes
the single-region form, and the variant's partial answers sit only under
region[1].w NONUNIFORM, which the encoder's indirect region never sets. So
the variant runs it unflagged, every invocation live, as it runs a whole grid.
decide() now drops the direct-only condition: one module and one VkPipeline a
size run every dispatch of an observing kernel where the variant takes the
threadgroup. Metrics::partial_variant_whole_grids counts the indirect ones
with the whole grids. No key, version or translator file changes.
Tests: the observing kernel's run table expects its indirect dispatch on the
variant (one first-use wait fewer where it shares a size with a direct
dispatch, and one more count); prepare_dispatch's table gains an indirect
dispatch at the whole grid's size that finds the variant made (0 makes; 1
before this change); the variant-key table groups the indirect dispatch with
the direct ones. The conformance case compute-indirect-threadgroup-grid
dispatches region_k, an observer, indirectly; its dispatch-forms line is the
check that the replay ran it on the variant.
Checks to run on this commit: tests::translate and the conformance replay on
a card per vendor.