zink: more batch-ism
[mesa.git] / src / gallium / drivers / zink / zink_batch.c
index 7f73d26569aea8b779671a134a3aa4fae5047870..0db58c6a8810242550e2fe99a1e7fe55e00dd0ce 100644 (file)
@@ -37,7 +37,7 @@ reset_batch(struct zink_screen *screen, struct zink_batch *batch)
 }
 
 void
-zink_start_cmdbuf(struct zink_context *ctx, struct zink_batch *batch)
+zink_start_batch(struct zink_context *ctx, struct zink_batch *batch)
 {
    reset_batch(zink_screen(ctx->base.screen), batch);
 
@@ -72,7 +72,7 @@ submit_cmdbuf(struct zink_context *ctx, VkCommandBuffer cmdbuf, VkFence fence)
 }
 
 void
-zink_end_cmdbuf(struct zink_context *ctx, struct zink_batch *batch)
+zink_end_batch(struct zink_context *ctx, struct zink_batch *batch)
 {
    if (vkEndCommandBuffer(batch->cmdbuf) != VK_SUCCESS) {
       debug_printf("vkEndCommandBuffer failed\n");