summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ddebug/dd_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/ddebug/dd_context.c')
-rw-r--r--src/gallium/drivers/ddebug/dd_context.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/ddebug/dd_context.c b/src/gallium/drivers/ddebug/dd_context.c
index 5fe423b1778..98475b9fe99 100644
--- a/src/gallium/drivers/ddebug/dd_context.c
+++ b/src/gallium/drivers/ddebug/dd_context.c
@@ -665,9 +665,11 @@ static void
dd_context_emit_string_marker(struct pipe_context *_pipe,
const char *string, int len)
{
- struct pipe_context *pipe = dd_context(_pipe)->pipe;
+ struct dd_context *dctx = dd_context(_pipe);
+ struct pipe_context *pipe = dctx->pipe;
pipe->emit_string_marker(pipe, string, len);
+ dd_parse_apitrace_marker(string, len, &dctx->apitrace_call_number);
}
static void