diff options
-rw-r--r-- | src/compiler/nir/nir_search.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/nir/nir_search.c b/src/compiler/nir/nir_search.c index 2179ca0a311..1f68f78afa3 100644 --- a/src/compiler/nir/nir_search.c +++ b/src/compiler/nir/nir_search.c @@ -561,6 +561,9 @@ MAYBE_UNUSED static void dump_value(const nir_search_value *val) case nir_type_uint: printf("0x%"PRIx64, sconst->data.u); break; + case nir_type_bool: + printf("%s", sconst->data.u != 0 ? "True" : "False"); + break; default: unreachable("bad const type"); } |