diff options
author | Nicolai Hähnle <[email protected]> | 2017-08-15 15:45:49 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2017-08-22 09:53:34 +0200 |
commit | f4c1d5a76d1eddc0b4097aaca4baad30a8500913 (patch) | |
tree | 227fa3773507eaa80f609592ad18f32546cf9ad2 /src/gallium | |
parent | 0c3f8aca7ff436be7cc7689be7427af798b4fbfa (diff) |
radeonsi: emit string markers to log context
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 |