mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
radeonsi: Add header and footer to shader stat dump
This makes it easier to parse. Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
406df68736
commit
2569c7109d
1 changed files with 4 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue