aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-06-30 11:10:21 +0200
committerMarek Olšák <[email protected]>2016-07-05 00:47:12 +0200
commit61010cfac01963facfaa8c11e0857fff1d398cd6 (patch)
tree01e09ed693b16bba2080b2e27370956f03e4463e
parent015e2e0fce3eea7884f8df275c2fadc35143a324 (diff)
radeonsi: don't dump the shader key for non-monolithic shaders early
It's always zero. Reviewed-by: Nicolai Hähnle <[email protected]>
-rw-r--r--src/gallium/drivers/radeonsi/si_shader.c3
1 files changed, 2 insertions, 1 deletions
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);
}