nir: Remove nir_shader->shared_size.

The same info is in shader_info. Dedupe.

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10094>
This commit is contained in:
Bas Nieuwenhuizen
2021-04-08 00:52:18 +02:00
committed by Marge Bot
parent 580f1ac473
commit 4ca4de50f7
8 changed files with 2 additions and 11 deletions

View File

@@ -1637,7 +1637,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->shared_size);
fprintf(fp, "shared: %u\n", shader->info.shared_size);
if (shader->scratch_size)
fprintf(fp, "scratch: %u\n", shader->scratch_size);
if (shader->constant_data_size)