From af9be8c024a34332964f69ce7629550e668222ef Mon Sep 17 00:00:00 2001 From: Caio Oliveira Date: Tue, 20 Jun 2023 13:56:05 -0700 Subject: [PATCH] nir/print: Print whether the shader is internal or not Reviewed-by: Kenneth Graunke Part-of: --- src/compiler/nir/nir_print.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compiler/nir/nir_print.c b/src/compiler/nir/nir_print.c index 5a4c84f649c..16ed71d599d 100644 --- a/src/compiler/nir/nir_print.c +++ b/src/compiler/nir/nir_print.c @@ -1935,6 +1935,8 @@ print_shader_info(const struct shader_info *info, FILE *fp) if (info->label) fprintf(fp, "label: %s\n", info->label); + fprintf(fp, "internal: %s\n", info->internal ? "true" : "false"); + if (gl_shader_stage_uses_workgroup(info->stage)) { fprintf(fp, "workgroup-size: %u, %u, %u%s\n", info->workgroup_size[0],