Home
last modified time | relevance | path

Searched refs:batch_used (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_batchbuffer.c451 const unsigned batch_used = USED_BATCH(*batch) * 4; in intel_batchbuffer_require_space() local
452 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()