anv/meta: Allocate descriptor pools on-the-fly
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 24 Feb 2016 01:04:19 +0000 (17:04 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 24 Feb 2016 01:04:19 +0000 (17:04 -0800)
commitbd3db3d6655beeb3da817a96d524f537092e386b
tree71c448c0f18466531f4afb5bbe42b955727b332c
parentbfbb238dea91b1c2bde4f2f3eb20d39c95da3850
anv/meta: Allocate descriptor pools on-the-fly

We can't use a global descriptor pool like we were because it's not
thread-safe.  For now, we'll allocate them on-the-fly and that should work
fine.  At some point in the future, we could do something where we
stack-allocate them or allocate them out of one of the state streams.
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