Lines Matching refs:secondary
844 struct anv_cmd_buffer *secondary) in anv_cmd_buffer_add_secondary() argument
846 switch (secondary->exec_mode) { in anv_cmd_buffer_add_secondary()
848 anv_batch_emit_batch(&primary->batch, &secondary->batch); in anv_cmd_buffer_add_secondary()
852 unsigned length = secondary->batch.end - secondary->batch.start; in anv_cmd_buffer_add_secondary()
855 anv_batch_emit_batch(&primary->batch, &secondary->batch); in anv_cmd_buffer_add_secondary()
860 list_first_entry(&secondary->batch_bos, struct anv_batch_bo, link); in anv_cmd_buffer_add_secondary()
862 list_last_entry(&secondary->batch_bos, struct anv_batch_bo, link); in anv_cmd_buffer_add_secondary()
878 secondary->batch.next -= inst_size; in anv_cmd_buffer_add_secondary()
879 emit_batch_buffer_start(secondary, &this_bbo->bo, offset); in anv_cmd_buffer_add_secondary()
880 anv_cmd_buffer_add_seen_bbos(primary, &secondary->batch_bos); in anv_cmd_buffer_add_secondary()
888 void *inst = secondary->batch.next - inst_size; in anv_cmd_buffer_add_secondary()
891 while (p < secondary->batch.next) { in anv_cmd_buffer_add_secondary()
900 VkResult result = anv_batch_bo_list_clone(&secondary->batch_bos, in anv_cmd_buffer_add_secondary()
901 secondary, in anv_cmd_buffer_add_secondary()
926 &secondary->surface_relocs, 0); in anv_cmd_buffer_add_secondary()