diff --git a/src/gallium/auxiliary/util/u_threaded_context.c b/src/gallium/auxiliary/util/u_threaded_context.c index e69eb888ddd..0351c9a0b10 100644 --- a/src/gallium/auxiliary/util/u_threaded_context.c +++ b/src/gallium/auxiliary/util/u_threaded_context.c @@ -2498,7 +2498,9 @@ tc_emit_string_marker(struct pipe_context *_pipe, struct pipe_context *pipe = tc->pipe; tc_sync(tc); + tc_set_driver_thread(tc); pipe->emit_string_marker(pipe, string, len); + tc_clear_driver_thread(tc); } }