From: José Fonseca Date: Thu, 16 May 2013 12:12:11 +0000 (+0100) Subject: gallivm: Support pointers in lp_build_print_value(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cb9913cdab763ac21ea6659f93e9564db9df47e8;p=mesa.git gallivm: Support pointers in lp_build_print_value(). Trivial. --- diff --git a/src/gallium/auxiliary/gallivm/lp_bld_printf.c b/src/gallium/auxiliary/gallivm/lp_bld_printf.c index 7a6bbd960be..1324da26a71 100644 --- 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);