Searched refs:crocus_batch_bytes_used (Results 1 – 4 of 4) sorted by relevance
218 crocus_batch_bytes_used(struct crocus_batch *batch) in crocus_batch_bytes_used() function233 const unsigned required_bytes = crocus_batch_bytes_used(batch) + size; in crocus_require_command_space()234 unsigned used = crocus_batch_bytes_used(batch); in crocus_require_command_space()244 assert(crocus_batch_bytes_used(batch) + size < batch->command.bo->size); in crocus_require_command_space()
493 assert(crocus_batch_bytes_used(batch) == 0); in crocus_batch_maybe_noop()589 crocus_batch_bytes_used(batch) + estimate >= BATCH_SZ) { in crocus_batch_maybe_flush()753 VG(VALGRIND_CHECK_MEM_IS_DEFINED(batch->command.map, crocus_batch_bytes_used(batch))); in crocus_finish_batch()756 batch->primary_batch_size = crocus_batch_bytes_used(batch); in crocus_finish_batch()825 memcpy(bo_map, batch->command.map, crocus_batch_bytes_used(batch)); in submit_batch()933 if (crocus_batch_bytes_used(batch) == 0 && !batch->contains_fence_signal) in _crocus_batch_flush()944 int bytes_for_commands = crocus_batch_bytes_used(batch); in _crocus_batch_flush()1045 if (crocus_batch_bytes_used(batch) == 0) in crocus_batch_prepare_noop()
238 if (deferred && crocus_batch_bytes_used(batch) > 0) { in crocus_fence_flush()
813 if ((crocus_batch_bytes_used(batch) & 15) > 12) { in crocus_upload_urb_fence()814 int pad = 16 - (crocus_batch_bytes_used(batch) & 15); in crocus_upload_urb_fence()