summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2020-02-12 14:55:27 -0500
committerMarek Olšák <[email protected]>2020-02-14 16:19:38 -0500
commit7e2b4bf256610cc016202893d7b4b4ef60b25b53 (patch)
tree11b7ad48ed61e2b439ea9573cb7228fa3e90146f /src/gallium/drivers/radeonsi
parent7bee388fb50d1bf6fc63f7898ad189c7891a10a1 (diff)
radeonsi: don't wait for shader compilation to finish when destroying a context
This was a hack for glsl_types deinitialization and it predates the proper fix, which was the addition of glsl_type_singleton_decref. This fixes a crash when the context is destroyed via the atexit handler. Cc: 19.3 20.0 <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3800> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3800>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c
index cb96645b9d2..ea4f1bf20b6 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.c
+++ b/src/gallium/drivers/radeonsi/si_pipe.c
@@ -172,9 +172,6 @@ static void si_destroy_context(struct pipe_context *context)
struct si_context *sctx = (struct si_context *)context;
int i;
- util_queue_finish(&sctx->screen->shader_compiler_queue);
- util_queue_finish(&sctx->screen->shader_compiler_queue_low_priority);
-
/* Unreference the framebuffer normally to disable related logic
* properly.
*/