mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-06 13:30:00 +00:00
CachedPipeline keeps at most 256 pipelines. A level with a larger working set thrashes the LRU: every miss creates a new VkPipeline (modules, layout, render pass and a driver compile from the pipeline cache). The bound is now 1024. A cached pipeline is a pure function of its key, so the bound changes only memory and time.