Lines Matching defs:primary
1095 anv_cmd_buffer_add_secondary(struct anv_cmd_buffer *primary,
1098 anv_measure_add_secondary(primary, secondary);
1101 anv_batch_emit_batch(&primary->batch, &secondary->batch);
1104 struct anv_batch_bo *bbo = anv_cmd_buffer_current_batch_bo(primary);
1106 anv_batch_bo_grow(primary, bbo, &primary->batch, length,
1108 anv_batch_emit_batch(&primary->batch, &secondary->batch);
1117 emit_batch_buffer_start(primary, first_bbo->bo, 0);
1119 struct anv_batch_bo *this_bbo = anv_cmd_buffer_current_batch_bo(primary);
1120 assert(primary->batch.start == this_bbo->bo->map);
1121 uint32_t offset = primary->batch.next - primary->batch.start;
1124 * MI_BATCH_BUFFER_START in the primary batch.
1126 anv_batch_bo_link(primary, last_bbo, this_bbo, offset);
1128 anv_cmd_buffer_add_seen_bbos(primary, &secondary->batch_bos);
1139 anv_cmd_buffer_add_seen_bbos(primary, ©_list);
1146 cmd_buffer_chain_to_batch_bo(primary, first_bbo);
1148 list_splicetail(©_list, &primary->batch_bos);
1150 anv_batch_bo_continue(last_bbo, &primary->batch,
1159 anv_batch_emitn(&primary->batch,
1165 emit_batch_buffer_start(primary, first_bbo->bo, 0);
1168 anv_address_physical(anv_batch_address(&primary->batch,
1169 primary->batch.next));
1171 anv_cmd_buffer_add_seen_bbos(primary, &secondary->batch_bos);
1178 anv_reloc_list_append(&primary->surface_relocs, &primary->vk.pool->alloc,
1815 /* We do not support chaining primary command buffers without