nir: Rename num_shared to shared_size

This one is always a size in bytes.

Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6524>
This commit is contained in:
Jason Ekstrand
2020-08-31 13:04:50 -05:00
committed by Marge Bot
parent 471f260ef3
commit 4d18e71fea
7 changed files with 11 additions and 8 deletions

View File

@@ -1586,7 +1586,7 @@ nir_print_shader_annotated(nir_shader *shader, FILE *fp,
fprintf(fp, "uniforms: %u\n", shader->num_uniforms);
if (shader->info.num_ubos)
fprintf(fp, "ubos: %u\n", shader->info.num_ubos);
fprintf(fp, "shared: %u\n", shader->num_shared);
fprintf(fp, "shared: %u\n", shader->shared_size);
if (shader->scratch_size)
fprintf(fp, "scratch: %u\n", shader->scratch_size);
if (shader->constant_data_size)