projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fae5e1d
)
nir: print var binding in dumps.
author
Dave Airlie
<airlied@redhat.com>
Wed, 23 Nov 2016 22:25:50 +0000
(22:25 +0000)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 29 Nov 2016 22:07:13 +0000
(22:07 +0000)
This only useful for spir-v shaders, but I keep finding myself
having to add it.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
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 ed0243506d5550c5414e2bc05da8cc129d302f22..a5b29093c5bd87d23796d1eaaf9901e016ed8c82 100644
(file)
--- a/
src/compiler/nir/nir_print.c
+++ b/
src/compiler/nir/nir_print.c
@@
-432,7
+432,7
@@
print_var_decl(nir_variable *var, print_state *state)
loc = buf;
}
- fprintf(fp, " (%s, %u
)%s", loc, var->data.driver_location
,
+ fprintf(fp, " (%s, %u
, %u)%s", loc, var->data.driver_location, var->data.binding
,
var->data.compact ? " compact" : "");
}