Searched refs:batch_used (Results 1 – 1 of 1) sorted by relevance
451 const unsigned batch_used = USED_BATCH(*batch) * 4; in intel_batchbuffer_require_space() local452 if (batch_used + sz >= BATCH_SZ && !batch->no_wrap) { in intel_batchbuffer_require_space()454 } else if (batch_used + sz >= batch->batch.bo->size) { in intel_batchbuffer_require_space()458 grow_buffer(brw, &batch->batch, batch_used, new_size); in intel_batchbuffer_require_space()459 batch->map_next = (void *) batch->batch.map + batch_used; in intel_batchbuffer_require_space()460 assert(batch_used + sz < batch->batch.bo->size); in intel_batchbuffer_require_space()