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:
@@ -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
|
||||
|
Reference in New Issue
Block a user