Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_context.h181 unsigned current_batch_idx; member
286 assert(ctx->current_batch_idx < ARRAY_SIZE(ctx->batches)); in d3d12_current_batch()
287 return ctx->batches + ctx->current_batch_idx; in d3d12_current_batch()
291 unsigned oldest = (ctx->current_batch_idx + 1) % ARRAY_SIZE(ctx->batches); \
292 while (ctx->batches[oldest].fence == NULL && oldest != ctx->current_batch_idx) \
295 for (; oldest != ctx->current_batch_idx; \
Dd3d12_context.cpp1949 ctx->current_batch_idx++; in d3d12_flush_cmdlist()
1950 if (ctx->current_batch_idx == ARRAY_SIZE(ctx->batches)) in d3d12_flush_cmdlist()
1951 ctx->current_batch_idx = 0; in d3d12_flush_cmdlist()