From: Marek Olšák Date: Thu, 30 Jun 2016 09:10:21 +0000 (+0200) Subject: radeonsi: don't dump the shader key for non-monolithic shaders early X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=61010cfac01963facfaa8c11e0857fff1d398cd6;p=mesa.git radeonsi: don't dump the shader key for non-monolithic shaders early It's always zero. Reviewed-by: Nicolai Hähnle --- diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index bba6a55df95..c765975827c 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -6510,7 +6510,8 @@ int si_compile_tgsi_shader(struct si_screen *sscreen, * conversion fails. */ if (r600_can_dump_shader(&sscreen->b, sel->info.processor) && !(sscreen->b.debug_flags & DBG_NO_TGSI)) { - si_dump_shader_key(sel->type, &shader->key, stderr); + if (is_monolithic) + si_dump_shader_key(sel->type, &shader->key, stderr); tgsi_dump(sel->tokens, 0); si_dump_streamout(&sel->so); }