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>
This commit is contained in:
Samuel Pitoiset
2020-08-20 16:03:36 +02:00
parent 35a42ff9c5
commit 8301a43f27
4 changed files with 119 additions and 83 deletions

View File

@@ -444,7 +444,7 @@ radv_dump_shader(struct radv_pipeline *pipeline,
shader->ir_string);
fprintf(f, "DISASM:\n%s\n", shader->disasm_string);
radv_shader_dump_stats(pipeline->device, shader, stage, f);
radv_dump_shader_stats(pipeline->device, pipeline, stage, f);
}
static void