[Mesa-dev] [PATCH] radv: do not print ASM to stderr when dumping shaders

Samuel Pitoiset samuel.pitoiset at gmail.com
Fri Dec 1 15:15:40 UTC 2017


Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
---
 src/amd/vulkan/radv_debug.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/amd/vulkan/radv_debug.c b/src/amd/vulkan/radv_debug.c
index cdf8e7a114..c8794d06ea 100644
--- a/src/amd/vulkan/radv_debug.c
+++ b/src/amd/vulkan/radv_debug.c
@@ -508,7 +508,7 @@ radv_dump_shader(struct radv_pipeline *pipeline,
 		nir_print_shader(shader->nir, f);
 	}
 
-	fprintf(stderr, "DISASM:\n%s\n", shader->disasm_string);
+	fprintf(f, "DISASM:\n%s\n", shader->disasm_string);
 
 	radv_shader_dump_stats(pipeline->device, shader, stage, f);
 }
-- 
2.15.0



More information about the mesa-dev mailing list