From 61010cfac01963facfaa8c11e0857fff1d398cd6 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Thu, 30 Jun 2016 11:10:21 +0200 Subject: radeonsi: don't dump the shader key for non-monolithic shaders early MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It's always zero. Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_shader.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gallium') 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); } -- cgit v1.2.3