anv: Turn pipeline cache on by default
authorKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Fri, 4 Mar 2016 23:03:23 +0000 (15:03 -0800)
committerKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Sat, 5 Mar 2016 21:54:24 +0000 (13:54 -0800)
commit34326f46dfe1511529363b4ab46477f04d3e1574
treec83f31e0f54ce8df75787713f9fd7bba17d103e2
parentf2b37132cb6a804b958d2e1dff17e7d77e430b96
anv: Turn pipeline cache on by default

Move the environment variable check to cache creation time so we block
both lookups and uploads if it's turned off.
src/intel/vulkan/anv_pipeline_cache.c