diff options
author | Samuel Pitoiset <[email protected]> | 2018-03-01 22:12:56 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-03-06 10:38:42 +0100 |
commit | e96e6f60f705c04a3d437eea9fe308826b494c67 (patch) | |
tree | f3e395e378bedcd8f8e3b734eec75760cc96456a | |
parent | 7f6b91c9c36354b5478e86494d3ebae689f1b509 (diff) |
radv: report the scratch private memory size with shader stats
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
-rw-r--r-- | src/amd/vulkan/radv_shader.c | 4 |
1 files changed, 3 insertions, 1 deletions
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); } |