From: Samuel Pitoiset Date: Thu, 1 Mar 2018 21:12:56 +0000 (+0100) Subject: radv: report the scratch private memory size with shader stats X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e96e6f60f705c04a3d437eea9fe308826b494c67;p=mesa.git radv: report the scratch private memory size with shader stats Signed-off-by: Samuel Pitoiset Reviewed-by: Dave Airlie --- diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c index e1de01f5511..8a241f8ec8e 100644 --- a/src/amd/vulkan/radv_shader.c +++ b/src/amd/vulkan/radv_shader.c @@ -627,13 +627,15 @@ generate_shader_stats(struct radv_device *device, "VGPRS: %d\n" "Spilled SGPRs: %d\n" "Spilled VGPRs: %d\n" + "PrivMem VGPRS: %d\n" "Code Size: %d bytes\n" "LDS: %d blocks\n" "Scratch: %d bytes per wave\n" "Max Waves: %d\n" "********************\n\n\n", conf->num_sgprs, conf->num_vgprs, - conf->spilled_sgprs, conf->spilled_vgprs, variant->code_size, + conf->spilled_sgprs, conf->spilled_vgprs, + variant->info.private_mem_vgprs, variant->code_size, conf->lds_size, conf->scratch_bytes_per_wave, max_simd_waves); }