anv/batch_chain: Don't call current_batch_bo() again
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 15 Jan 2016 23:48:18 +0000 (15:48 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 15 Jan 2016 23:49:32 +0000 (15:49 -0800)
commit67bf74f020a3f9c08ad82d5578d4979a70940f67
treeffe4212600ebf4ce1463d3ce57ea1153aa1d272a
parent117cac75d07c5f0022cd2940162f5d239c3bed3b
anv/batch_chain: Don't call current_batch_bo() again

We call it once at the top of the function and then hold on to the pointer.
It shouldn't have changed, so there's no reason to query for it again.
src/vulkan/anv_batch_chain.c