vk/aub: Use the data directly from the execbuf2
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 28 Jul 2015 23:49:19 +0000 (16:49 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 28 Jul 2015 23:53:45 +0000 (16:53 -0700)
commit6aba52381a8bfad6f0f5bf7cda8cc77e57079e1a
tree2164dc65de5de2369bfb121ae4dc4989c9de7ff2
parent3c2743dcd10f2df459363a04a257b91ca7299092
vk/aub: Use the data directly from the execbuf2

Previously, we were crawling through the anv_cmd_buffer datastructure to
pull out batch buffers and things.  This meant that every time something in
anv_cmd_buffer changed, we broke aub dumping.  However, aub dumping should
just dump the stuff the kernel knows about so we really don't need to be
crawling driver internals.
src/vulkan/anv_aub.c