Home
last modified time | relevance | path

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

/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_batch.h77 #define USED_BATCH(_batch) \ macro
97 brw->batch.emit = USED_BATCH(brw->batch); in brw_batch_begin()
107 unsigned int _n = USED_BATCH(*batch) - batch->emit; in brw_batch_advance()
Dbrw_batch.c336 if (USED_BATCH(brw->batch) == 0) in brw_batch_reset_to_saved()
549 const unsigned batch_used = USED_BATCH(*batch) * 4; in brw_batch_require_space()
667 if (USED_BATCH(brw->batch) & 1) { in brw_finish_batch()
785 memcpy(bo_map, batch->batch.map, 4 * USED_BATCH(*batch)); in submit_batch()
847 4 * USED_BATCH(*batch), in submit_batch()
855 4 * USED_BATCH(*batch), in submit_batch()
885 if (USED_BATCH(brw->batch) == 0 && !brw->batch.contains_fence_signal) in _brw_batch_flush_fence()
903 int bytes_for_commands = 4 * USED_BATCH(brw->batch); in _brw_batch_flush_fence()
934 if (!brw->frontend_noop || USED_BATCH(brw->batch) != 0) in brw_batch_maybe_noop()
Dbrw_urb.c260 if ((USED_BATCH(brw->batch) & 15) > 12) { in brw_upload_urb_fence()
261 int pad = 16 - (USED_BATCH(brw->batch) & 15); in brw_upload_urb_fence()