From: Nicolai Hähnle Date: Tue, 15 Aug 2017 13:45:49 +0000 (+0200) Subject: radeonsi: emit string markers to log context X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f4c1d5a76d1eddc0b4097aaca4baad30a8500913;p=mesa.git radeonsi: emit string markers to log context Reviewed-by: Marek Olšák --- diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index 93d43e697da..a2b37cbab0c 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -134,6 +134,9 @@ static void si_emit_string_marker(struct pipe_context *ctx, struct si_context *sctx = (struct si_context *)ctx; dd_parse_apitrace_marker(string, len, &sctx->apitrace_call_number); + + if (sctx->b.log) + u_log_printf(sctx->b.log, "\nString marker: %*s\n", len, string); } static LLVMTargetMachineRef