[Mesa-dev] [PATCH 07/15] radv: dump shader stats when a hang occured

Samuel Pitoiset samuel.pitoiset at gmail.com
Tue Sep 12 10:35:44 UTC 2017


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

diff --git a/src/amd/vulkan/radv_debug.c b/src/amd/vulkan/radv_debug.c
index fe9d9cfdba..4abdb6489e 100644
--- a/src/amd/vulkan/radv_debug.c
+++ b/src/amd/vulkan/radv_debug.c
@@ -86,6 +86,8 @@ radv_dump_shader(struct radv_pipeline *pipeline, gl_shader_stage stage, FILE *f)
 
 	fprintf(f, "%s:\n%s\n\n", radv_get_shader_name(shader, stage),
 		shader->disasm_string);
+
+	radv_shader_dump_stats(pipeline->device, shader, stage, f);
 }
 
 static void
-- 
2.14.1



More information about the mesa-dev mailing list