vk/device: Destroy all batch buffers
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 9 Jun 2015 18:40:22 +0000 (11:40 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 9 Jun 2015 19:36:23 +0000 (12:36 -0700)
commit999b56c507fa9542725556aa9409d029fdc19c94
treef4d7eb9788d0640d498c558512fc63cd6b1b58c4
parent3a38b0db5fc7ab732fc6d830a2787b0b3c1bb294
vk/device: Destroy all batch buffers

Due to a copy+paste error, we were destroying all but the first batch or
surface state buffer.  Now we destroy them all.
src/vulkan/device.c