[Mesa-dev] [PATCH 0/6] anv: Add support for an on-disk transparent pipeline

Jason Ekstrand jason at jlekstrand.net
Sat Jun 30 03:44:00 UTC 2018

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(-)


More information about the mesa-dev mailing list