radv: add radv_shader_dump_stats() helper
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 5 Sep 2017 13:34:07 +0000 (15:34 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 14 Sep 2017 08:37:57 +0000 (10:37 +0200)
commit80b8d9f7e7b41cb07a4d4727035ed7ec4ca468cc
tree2c6799c17b6b13261b027afedabdba4ae83ff061
parentd28cbf6f9efa17c762375b91130c73c6cf3db2db
radv: add radv_shader_dump_stats() helper

To dump the shader stats when a hang is detected.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_shader.c
src/amd/vulkan/radv_shader.h