anv/pipeline_cache: Rework to use multialloc and blob
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 11 Oct 2017 19:13:35 +0000 (12:13 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 13 Oct 2017 04:47:06 +0000 (21:47 -0700)
commitb8ab78d1afd50cd10bf9be7046f27e4aa22d57ac
treeda6341e7c9b4aa1c508079a825bdf2fe1a5b380b
parent2d29dd9ee4182e32fcbcea4b4705da60cf863199
anv/pipeline_cache: Rework to use multialloc and blob

This gets rid of all of our hand-rolled size calculation and
serialization code and replaces it with safe "standards" that are used
elsewhere in anv and mesa.  This should be significantly safer than
rolling our own.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/intel/vulkan/anv_pipeline_cache.c
src/intel/vulkan/anv_private.h