vk: Use anv_batch_emit() for chaining back to primary batch
authorKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Tue, 18 Aug 2015 22:26:07 +0000 (15:26 -0700)
committerKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Mon, 24 Aug 2015 20:45:40 +0000 (13:45 -0700)
commit97360ffc6c465fafb1445e344351103ad5fee20e
tree387c6e51a99875711cffb6f9874b468eed3ee80f
parentcff717c6493c5518d988244050d796f7820ef89c
vk: Use anv_batch_emit() for chaining back to primary batch

We used to use a manual GEN8_MI_BATCH_BUFFER_START_pack() call, but this
refactors the code to use anv_batch_emit();

Signed-off-by: Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
src/vulkan/anv_batch_chain.c