[Mesa-dev] [PATCH 1/8] radeonsi: don't dump the shader key for non-monolithic shaders early
Marek Olšák
maraeo at gmail.com
Thu Jun 30 23:28:40 UTC 2016
From: Marek Olšák <marek.olsak at amd.com>
It's always zero.
---
src/gallium/drivers/radeonsi/si_shader.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c
index e2aae85..f2cdd6e 100644
--- a/src/gallium/drivers/radeonsi/si_shader.c
+++ b/src/gallium/drivers/radeonsi/si_shader.c
@@ -6522,7 +6522,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);
}
--
2.7.4
More information about the mesa-dev
mailing list