radv: dump shader stats with VK_KHR_pipeline_executable_properties
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 20 Aug 2020 14:03:36 +0000 (16:03 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 31 Aug 2020 07:42:25 +0000 (09:42 +0200)
commit8301a43f272df7aa8c28e4143be1549bbef74e42
tree67d322f226fe4d4870a7b1ec5e4d25c9a4be4b96
parent35a42ff9c599bb617e889269c36cbb025d6383b9
radv: dump shader stats with VK_KHR_pipeline_executable_properties

Instead of duplicating shader statistics in two different parts
in the driver. This also now reports the LDS size in bytes instead
of blocks with VK_AMD_shader_info.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6406>
src/amd/vulkan/radv_debug.c
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_shader.c
src/amd/vulkan/radv_shader.h