diff options
author | Nicolai Hähnle <[email protected]> | 2016-07-06 23:51:05 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2016-07-08 10:59:36 +0200 |
commit | 04d93ea61968b5f163ad37048f07929c55c278e9 (patch) | |
tree | 59fe9e9322bd0424728ef1095aeb08714104ece9 /src/gallium/drivers | |
parent | 7ffc832ab849a49039f2579dd539c231a9c9c000 (diff) |
radeonsi: disable multi-threading when shader dumps are enabled
Otherwise, shader dumps can become interleaved and unusable.
Reviewed-by: Edward O'Callaghan <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state_shaders.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c b/src/gallium/drivers/radeonsi/si_state_shaders.c index 94587b296fa..c24130dab9c 100644 --- a/src/gallium/drivers/radeonsi/si_state_shaders.c +++ b/src/gallium/drivers/radeonsi/si_state_shaders.c @@ -1325,6 +1325,7 @@ static void *si_create_shader_selector(struct pipe_context *ctx, util_queue_fence_init(&sel->ready); if ((sctx->b.debug.debug_message && !sctx->b.debug.async) || + r600_can_dump_shader(&sscreen->b, sel->info.processor) || !util_queue_is_initialized(&sscreen->shader_compiler_queue)) si_init_shader_selector_async(sel, -1); else |