From: Tom Stellard Date: Mon, 13 Apr 2015 12:56:37 +0000 (+0000) Subject: radeonsi: Add header and footer to shader stat dump X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2569c7109d466137ac2b9964db3427ccf2bbf49e;p=mesa.git radeonsi: Add header and footer to shader stat dump This makes it easier to parse. Reviewed-by: Marek Olšák --- diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index b4709acc465..89f02ab0410 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -2669,8 +2669,10 @@ int si_shader_binary_read(struct si_screen *sscreen, binary->code[i]); } } - fprintf(stderr, "SGPRS: %d\nVGPRS: %d\nCode Size: %d bytes\nLDS: %d blocks\n" - "Scratch: %d bytes per wave\n", + + fprintf(stderr, "*** SHADER STATS ***\n" + "SGPRS: %d\nVGPRS: %d\nCode Size: %d bytes\nLDS: %d blocks\n" + "Scratch: %d bytes per wave\n********************\n", shader->num_sgprs, shader->num_vgprs, binary->code_size, shader->lds_size, shader->scratch_bytes_per_wave); }