mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
nir: Print Mesh Shader specific info.
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13466>
This commit is contained in:
parent
5aa39253cb
commit
9cf4124be0
1 changed files with 4 additions and 0 deletions
|
|
@ -1638,6 +1638,10 @@ nir_print_shader_annotated(nir_shader *shader, FILE *fp,
|
|||
fprintf(fp, "output primitive: %s\n", primitive_name(shader->info.gs.output_primitive));
|
||||
fprintf(fp, "active_stream_mask: 0x%x\n", shader->info.gs.active_stream_mask);
|
||||
fprintf(fp, "uses_end_primitive: %u\n", shader->info.gs.uses_end_primitive);
|
||||
} else if (shader->info.stage == MESA_SHADER_MESH) {
|
||||
fprintf(fp, "output primitive: %s\n", primitive_name(shader->info.mesh.primitive_type));
|
||||
fprintf(fp, "max primitives out: %u\n", shader->info.mesh.max_primitives_out);
|
||||
fprintf(fp, "max vertices out: %u\n", shader->info.mesh.max_vertices_out);
|
||||
}
|
||||
|
||||
nir_foreach_variable_in_shader(var, shader)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue