anv/pipeline_cache: Allow for an zero-sized cache
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 6 Jun 2016 18:20:44 +0000 (11:20 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 10 Jun 2016 16:43:10 +0000 (09:43 -0700)
commit4f5bbf804b5590631abb7ff36b74871a0725f8fa
tree52502bf3fe267387b5ff9964f69acb6bcb112817
parenta1a25db69926604d579139d1d497f1566ec16ac7
anv/pipeline_cache: Allow for an zero-sized cache

This gets ANV_ENABLE_PIPELINE_CACHE=false working again.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
src/intel/vulkan/anv_pipeline_cache.c