From: Samuel Pitoiset Date: Fri, 1 Dec 2017 15:15:40 +0000 (+0100) Subject: radv: do not print ASM to stderr when dumping shaders X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=572b2bad1db2d1cc667d78a4233d9a961ea4a12d;p=mesa.git radv: do not print ASM to stderr when dumping shaders Signed-off-by: Samuel Pitoiset Reviewed-by: Dave Airlie --- diff --git a/src/amd/vulkan/radv_debug.c b/src/amd/vulkan/radv_debug.c index cdf8e7a1145..c8794d06ea8 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); }