anv: Implement descriptor pools
authorKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Fri, 12 Feb 2016 06:46:28 +0000 (22:46 -0800)
committerKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Tue, 23 Feb 2016 01:13:51 +0000 (17:13 -0800)
commit2570a58bcdf30d699b89323fef60692093dee7ea
treed27100ecad296a746182c96e6cc5aa3e5998b491
parent353d5bf286e1509af9ec2f1b8152d1f64790b52c
anv: Implement descriptor pools

Descriptor pools are an optimization that lets applications allocate
descriptor sets through an externally synchronized object (that is,
unlocked).  In our case it's also plugging a memory leak, since we
didn't track all allocated sets and failed to free them in
vkResetDescriptorPool() and vkDestroyDescriptorPool().
src/intel/vulkan/anv_descriptor_set.c
src/intel/vulkan/anv_meta.c
src/intel/vulkan/anv_meta_blit.c
src/intel/vulkan/anv_meta_resolve.c
src/intel/vulkan/anv_private.h