[Mesa-dev] [PATCH 4/4] radeonsi: disable multi-threading when shader dumps are enabled
Nicolai Hähnle
nhaehnle at gmail.com
Thu Jul 7 07:39:40 UTC 2016
From: Nicolai Hähnle <nicolai.haehnle at amd.com>
Otherwise, shader dumps can become interleaved and unusable.
---
src/gallium/drivers/radeonsi/si_state_shaders.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c b/src/gallium/drivers/radeonsi/si_state_shaders.c
index 94587b2..c24130d 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
--
2.7.4
More information about the mesa-dev
mailing list