summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-12-01 16:15:40 +0100
committerSamuel Pitoiset <[email protected]>2017-12-08 11:24:24 +0100
commit572b2bad1db2d1cc667d78a4233d9a961ea4a12d (patch)
tree0b9273e9c63f7907ad3995b3d348f2f8feda7c7b
parent33b329f7699c4f92fbceedea9032ea275f522a50 (diff)
radv: do not print ASM to stderr when dumping shaders
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Dave Airlie <[email protected]>
-rw-r--r--src/amd/vulkan/radv_debug.c2
1 files changed, 1 insertions, 1 deletions
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);
}