Lines Matching defs:batch
502 const struct vn_renderer_submit_batch *batch = &submit->batches[i];
503 assert(batch->cs_size % sizeof(uint32_t) == 0);
504 *cs_size += batch->cs_size;
505 *sync_size += (sizeof(uint32_t) + sizeof(uint64_t)) * batch->sync_count;
530 /* write batch count and batch headers */
536 const struct vn_renderer_submit_batch *batch = &submit->batches[i];
539 .cmd_size = batch->cs_size / sizeof(uint32_t),
541 .sync_count = batch->sync_count,
543 if (!batch->sync_queue_cpu) {
545 dst.sync_queue_index = batch->sync_queue_index;
546 dst.sync_queue_id = batch->vk_queue_id;
550 cs_offset += batch->cs_size;
552 (sizeof(uint32_t) + sizeof(uint64_t)) * batch->sync_count;
558 const struct vn_renderer_submit_batch *batch = &submit->batches[i];
559 if (batch->cs_size)
560 vtest_write(vtest, batch->cs_data, batch->cs_size);
566 const struct vn_renderer_submit_batch *batch = &submit->batches[i];
568 for (uint32_t j = 0; j < batch->sync_count; j++) {
569 const uint64_t val = batch->sync_values[j];
571 batch->syncs[j]->sync_id,