From 0320dbaff55870df5eb14c207083f1cd0d1ec1ee Mon Sep 17 00:00:00 2001 From: Mihai Preda Date: Wed, 30 Nov 2022 11:45:07 +0200 Subject: [PATCH] nir: print shader_info bools with the value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Marek Olšák Acked-by: Pierre-Eric Pelloux-Prayer Part-of: --- src/compiler/nir/nir_print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/nir/nir_print.c b/src/compiler/nir/nir_print.c index 2871e389646..48e58dbd26c 100644 --- a/src/compiler/nir/nir_print.c +++ b/src/compiler/nir/nir_print.c @@ -1812,7 +1812,7 @@ print_nz_unsigned(FILE *fp, const char *label, unsigned value) { static void print_nz_bool(FILE *fp, const char *label, bool value) { if (value) - fprintf(fp, "%s\n", label); + fprintf(fp, "%s: true\n", label); } static void