nir: print shader_info bools with the value

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19570>
This commit is contained in:
Mihai Preda 2022-11-30 11:45:07 +02:00 committed by Marge Bot
parent da2d36a9d5
commit 0320dbaff5

View file

@ -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