vk/batch_chain: Compute secondary exec mode after finishing the bo
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 31 Jul 2015 15:52:28 +0000 (08:52 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 31 Jul 2015 15:52:30 +0000 (08:52 -0700)
commit220a01d525cc49380e97b87695f454f5e76ce69a
treec1fcf99d2e31dedd0c54ab8234493ab784a6fc6f
parent26ba0ad54d6bef6237abfabf5a3f572c325951d3
vk/batch_chain: Compute secondary exec mode after finishing the bo

Figuring out whether or not to do a copy requires knowing the length of the
final batch_bo.  This gets set by anv_batch_bo_finish so we have to do it
afterwards.  Not sure how this was even working before.
src/vulkan/anv_batch_chain.c