diff options
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_context.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_context.c b/src/gallium/drivers/freedreno/freedreno_context.c index c88ed69cf97..4335de17f39 100644 --- a/src/gallium/drivers/freedreno/freedreno_context.c +++ b/src/gallium/drivers/freedreno/freedreno_context.c @@ -405,6 +405,9 @@ fd_set_debug_callback(struct pipe_context *pctx, const struct util_debug_callback *cb) { struct fd_context *ctx = fd_context(pctx); + struct fd_screen *screen = ctx->screen; + + util_queue_finish(&screen->compile_queue); if (cb) ctx->debug = *cb; |