radv: do not print ASM to stderr when dumping shaders
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 1 Dec 2017 15:15:40 +0000 (16:15 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 8 Dec 2017 10:24:24 +0000 (11:24 +0100)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_debug.c

index cdf8e7a11453d377f5523e3df127bac7cec190b2..c8794d06ea8f26df9dcbece00fe15c1f07127c57 100644 (file)
@@ -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);
 }