projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
435aea6
)
gallivm: Support pointers in lp_build_print_value().
author
José Fonseca
<jfonseca@vmware.com>
Thu, 16 May 2013 12:12:11 +0000
(13:12 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Thu, 16 May 2013 14:14:10 +0000
(15:14 +0100)
Trivial.
src/gallium/auxiliary/gallivm/lp_bld_printf.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_printf.c
b/src/gallium/auxiliary/gallivm/lp_bld_printf.c
index 7a6bbd960bee1331aa0e6c05455ecb0bab8a4179..1324da26a71a5ebc024c8701053dad3be76bcfcb 100644
(file)
--- a/
src/gallium/auxiliary/gallivm/lp_bld_printf.c
+++ b/
src/gallium/auxiliary/gallivm/lp_bld_printf.c
@@
-111,6
+111,8
@@
lp_build_print_value(struct gallivm_state *gallivm,
} else {
type_fmt[2] = 'i';
}
+ } else if (type_kind == LLVMPointerTypeKind) {
+ type_fmt[2] = 'p';
} else {
/* Unsupported type */
assert(0);