Searched refs:batch_used (Results 1 – 3 of 3) sorted by relevance
537 const unsigned batch_used = USED_BATCH(*batch) * 4; in intel_batchbuffer_require_space() local538 if (batch_used + sz >= BATCH_SZ && !batch->no_wrap) { in intel_batchbuffer_require_space()540 } else if (batch_used + sz >= batch->batch.bo->size) { in intel_batchbuffer_require_space()544 grow_buffer(brw, &batch->batch, batch_used, new_size); in intel_batchbuffer_require_space()545 batch->map_next = (void *) batch->batch.map + batch_used; in intel_batchbuffer_require_space()546 assert(batch_used + sz < batch->batch.bo->size); in intel_batchbuffer_require_space()
83 batch_used(struct intel_batchbuffer *batch) in batch_used() function91 uint32_t offset = batch_used(batch); in batch_round_upto()638 offset = batch_used(batch); in gen4_emit_primitive()
611 _shader_offset = intel->batch_used++; \618 (intel->batch_used - _shader_offset - 2); \