anv: Use a default pipeline cache if none is specified
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 30 Jun 2018 00:29:35 +0000 (17:29 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 2 Jul 2018 20:07:06 +0000 (13:07 -0700)
commit76fdc8a85c630ee66902cbe8568d81fc116c1b3e
tree5c881e741fbeee407c05b39d90c1cab3f8ddfb3d
parentd1c778b362d3ccf203f33095bee2af45dc8cde9a
anv: Use a default pipeline cache if none is specified

If a client is dumb enough to not specify a pipeline cache, give it a
default.  We have to create one anyway for blorp so we may as well let
the client cache shaders in it.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/intel/vulkan/anv_blorp.c
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_pipeline_cache.c
src/intel/vulkan/anv_private.h
src/intel/vulkan/genX_pipeline.c