mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-14 13:00:31 +01:00
radeonsi: fix threaded shader compilation finishing after context is destroyed
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32538>
This commit is contained in:
parent
9da2ebf09c
commit
ec6d077351
1 changed files with 3 additions and 0 deletions
|
|
@ -209,6 +209,9 @@ static void si_destroy_context(struct pipe_context *context)
|
|||
{
|
||||
struct si_context *sctx = (struct si_context *)context;
|
||||
|
||||
util_queue_finish(&sctx->screen->shader_compiler_queue);
|
||||
util_queue_finish(&sctx->screen->shader_compiler_queue_opt_variants);
|
||||
|
||||
if (context->set_debug_callback)
|
||||
context->set_debug_callback(context, NULL);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue