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()
502 assert(crocus_batch_bytes_used(batch) == 0); in crocus_batch_maybe_noop()598 crocus_batch_bytes_used(batch) + estimate >= BATCH_SZ) { in crocus_batch_maybe_flush()762 VG(VALGRIND_CHECK_MEM_IS_DEFINED(batch->command.map, crocus_batch_bytes_used(batch))); in crocus_finish_batch()765 batch->primary_batch_size = crocus_batch_bytes_used(batch); in crocus_finish_batch()834 memcpy(bo_map, batch->command.map, crocus_batch_bytes_used(batch)); in submit_batch()942 if (crocus_batch_bytes_used(batch) == 0 && !batch->contains_fence_signal) in _crocus_batch_flush()953 int bytes_for_commands = crocus_batch_bytes_used(batch); in _crocus_batch_flush()1054 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()
814 if ((crocus_batch_bytes_used(batch) & 15) > 12) { in crocus_upload_urb_fence()815 int pad = 16 - (crocus_batch_bytes_used(batch) & 15); in crocus_upload_urb_fence()