VKCTX(CmdResolveImage)(cmdbuf, src->obj->image, src->layout,
dst->obj->image, dst->layout,
1, ®ion);
- zink_cmd_debug_marker_end(ctx, marker);
+ zink_cmd_debug_marker_end(ctx, cmdbuf, marker);
return true;
}
1, ®ion,
zink_filter(info->filter));
- zink_cmd_debug_marker_end(ctx, marker);
+ zink_cmd_debug_marker_end(ctx, cmdbuf, marker);
return true;
}
0, NULL,
1, &imb
);
- zink_cmd_debug_marker_end(ctx, marker);
+ zink_cmd_debug_marker_end(ctx, cmdbuf, marker);
resource_check_defer_image_barrier(ctx, res, new_layout, pipeline);
};
bool marker = zink_cmd_debug_marker_begin(ctx, cmdbuf, "image_barrier(%s->%s)", vk_ImageLayout_to_str(res->layout), vk_ImageLayout_to_str(new_layout));
VKCTX(CmdPipelineBarrier2)(cmdbuf, &dep);
- zink_cmd_debug_marker_end(ctx, marker);
+ zink_cmd_debug_marker_end(ctx, cmdbuf, marker);
resource_check_defer_image_barrier(ctx, res, new_layout, pipeline);
0, NULL,
0, NULL
);
- zink_cmd_debug_marker_end(ctx, marker);
+ zink_cmd_debug_marker_end(ctx, cmdbuf, marker);
}
resource_check_defer_buffer_barrier(ctx, res, pipeline);
marker = zink_cmd_debug_marker_begin(ctx, cmdbuf, "buffer_barrier(%s)", buf);
}
VKCTX(CmdPipelineBarrier2)(cmdbuf, &dep);
- zink_cmd_debug_marker_end(ctx, marker);
+ zink_cmd_debug_marker_end(ctx, cmdbuf, marker);
}
resource_check_defer_buffer_barrier(ctx, res, pipeline);
}
void
-zink_cmd_debug_marker_end(struct zink_context *ctx, bool emitted)
+zink_cmd_debug_marker_end(struct zink_context *ctx, VkCommandBuffer cmdbuf, bool emitted)
{
if (emitted)
- VKCTX(CmdEndDebugUtilsLabelEXT)(ctx->batch.state->cmdbuf);
+ VKCTX(CmdEndDebugUtilsLabelEXT)(cmdbuf);
}
res->obj->unordered_read = res->obj->unordered_write = false;
VKCTX(CmdCopyQueryPoolResults)(batch->state->cmdbuf, pool, query_id, num_results, res->obj->buffer,
offset, base_result_size, flags);
- zink_cmd_debug_marker_end(ctx, marker);
+ zink_cmd_debug_marker_end(ctx, batch->state->cmdbuf, marker);
}
static void