OSDN Git Service

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)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 14 Jun 2016 14:48:40 +0000 (15:48 +0100)
commitea24c9be4add9de12baa6579e34b235b4f477404
tree9814ee8905a6a7b60b51463c89ed883cc20a3037
parent86dbf1ef4b32d31edde5dce7b64daac52207ae0d
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>
(cherry picked from commit 4f5bbf804b5590631abb7ff36b74871a0725f8fa)
src/intel/vulkan/anv_pipeline_cache.c