vk/cmd_buffer: Use an array to track all know anv_batch_bo objects
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 29 Jul 2015 22:28:51 +0000 (15:28 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 29 Jul 2015 22:30:15 +0000 (15:30 -0700)
commit3ed9cea84d42d7a5f37ed64d99a6a5ba064767f3
tree186bd9ce58fb3ab110f2d760c8e7b1d359f35ef8
parent0f31c580bfaa2788e8d320c0bf4acb9b70a90e05
vk/cmd_buffer: Use an array to track all know anv_batch_bo objects

Instead of walking the list of batch and surface buffers, we simply keep
track of all known batch and surface buffers as we build the command
buffer.  Then we use this new list to construct the validate list.
src/vulkan/anv_cmd_buffer.c
src/vulkan/anv_private.h