mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 00:40:09 +01:00
nir: print out number of printfs
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38638>
This commit is contained in:
parent
b4e7c13ef4
commit
c2c815afd9
1 changed files with 2 additions and 0 deletions
|
|
@ -2956,6 +2956,8 @@ _nir_print_shader_annotated(nir_shader *shader, FILE *fp,
|
|||
fprintf(fp, "scratch: %u\n", shader->scratch_size);
|
||||
if (shader->constant_data_size)
|
||||
fprintf(fp, "constants: %u\n", shader->constant_data_size);
|
||||
if (shader->printf_info_count)
|
||||
fprintf(fp, "printfs: %u\n", shader->printf_info_count);
|
||||
|
||||
if (NIR_DEBUG(PRINT_STRUCT_DECLS)) {
|
||||
nir_foreach_variable_in_shader(var, shader) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue