nir: Extract shader_info->cs.shared_size out of union.
It is valid for all stages, just 0 for most of them. In particular mesh/task shaders might be using it. Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10094>
This commit is contained in:

committed by
Marge Bot

parent
afd2f489d3
commit
580f1ac473
@@ -1629,7 +1629,7 @@ nir_print_shader_annotated(nir_shader *shader, FILE *fp,
|
||||
shader->info.cs.local_size[1],
|
||||
shader->info.cs.local_size[2],
|
||||
shader->info.cs.local_size_variable ? " (variable)" : "");
|
||||
fprintf(fp, "shared-size: %u\n", shader->info.cs.shared_size);
|
||||
fprintf(fp, "shared-size: %u\n", shader->info.shared_size);
|
||||
}
|
||||
|
||||
fprintf(fp, "inputs: %u\n", shader->num_inputs);
|
||||
|
Reference in New Issue
Block a user