vk: Implement a basic pipeline cache
authorKristian Høgsberg Kristensen <krh@owl.jf.intel.com>
Tue, 5 Jan 2016 20:00:54 +0000 (12:00 -0800)
committerKristian Høgsberg Kristensen <krh@owl.jf.intel.com>
Tue, 5 Jan 2016 20:03:21 +0000 (12:03 -0800)
commit30521fb19e01b6e34cba4eaff40b9b782000b5db
treeacb85d896ced56d9d504f295cd44550db0bf4c08
parentf551047751e8de826ebc13c9f5069d9842d2f884
vk: Implement a basic pipeline cache

This is not really a cache yet, but it allows us to share one state
stream for all pipelines, which means we can bump the block size without
wasting a lot of memory.
src/vulkan/anv_device.c
src/vulkan/anv_meta.c
src/vulkan/anv_meta_clear.c
src/vulkan/anv_pipeline.c
src/vulkan/anv_private.h
src/vulkan/gen7_pipeline.c
src/vulkan/gen8_pipeline.c