The device-wide VkPipelineCache and its blob (written every 10 s and at the end, up to
256 MiB) are gone. Each VkPipeline is made through a small cache started from its file,
pipelines/<pipelineCacheUUID>/<SHA-256 of its creation: SPIR-V, entry, stage flags, required
subgroup size, constant IDs, the runtime's layout and the specialization>. The reaper reads
the cache's data and writes it as the file unless it is no longer than the file's (the
pipeline came from it), then destroys the cache: nothing is written on the calling thread,
and a hit writes nothing. At most 64 caches wait for the reaper; past that the data is
dropped (a miss next time), never back-pressure. Without a directory a pipeline is made with
no cache.
Translations and pipelines share one LRU store inside DeviceOptions::pipeline_cache_cap
(None = 512 MiB), ordered by use: a file's time on disk, moved forward at a use when older
than an hour, so the order holds across runs and processes. File reads and writes run
outside the store's lock. Metrics::cache_bytes_written counts the bytes written. The README
says a consumer should pass a directory (None compiles cold every boot).
Tests: the store's cap across both kinds; eviction by time on disk of files others wrote;
a file another removed is a miss; on every device, a second device writes nothing and leaves
every file as it was while the first's bytes written equal the files'; a second process adds
one pipeline file for its new pipeline and rewrites none.