projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da2d36a
)
nir: print shader_info bools with the value
author
Mihai Preda
<mhpreda@gmail.com>
Wed, 30 Nov 2022 09:45:07 +0000
(11:45 +0200)
committer
Marge Bot
<emma+marge@anholt.net>
Wed, 7 Dec 2022 12:59:33 +0000
(12:59 +0000)
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>
src/compiler/nir/nir_print.c
patch
|
blob
|
history
diff --git
a/src/compiler/nir/nir_print.c
b/src/compiler/nir/nir_print.c
index
2871e38
..
48e58db
100644
(file)
--- 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