I've been resisting this for a long time and I'm still a bit grumpy about it but I think Pierre-Loup has convinced me that it really is needed for steam shader caching. This series gives apps that don't use a pipeline cache a default in-memory cache as well as backing them with the disk cache in case they don't save their pipeline cache off. Fortunately, it's pretty straightforward and non-invasive to add disk cache support.
Goodby explicit pipeline caching, you will be missed... Jason Ekstrand (6): anv: Be more careful about hashing pipeline layouts anv: Use a default pipeline cache if none is specified anv/pipeline: Stop optimizing for not having a cache anv: Add device-level helpers for searching for and uploading kernels anv/pipeline_cache: Add a _locked suffix to a function anv: Add support for the on-disk shader cache src/intel/vulkan/anv_blorp.c | 12 +- src/intel/vulkan/anv_descriptor_set.c | 41 +++++- src/intel/vulkan/anv_device.c | 43 ++++++ src/intel/vulkan/anv_pipeline.c | 184 +++++++++++--------------- src/intel/vulkan/anv_pipeline_cache.c | 151 +++++++++++++++++---- src/intel/vulkan/anv_private.h | 23 +++- src/intel/vulkan/genX_pipeline.c | 8 ++ 7 files changed, 318 insertions(+), 144 deletions(-) -- 2.17.1 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev