From: José Fonseca Date: Tue, 11 Aug 2009 12:10:15 +0000 (+0100) Subject: llvmpipe: Dump only the generated function. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9033c44a62e27ba3095792c3578750a843733e00;p=mesa.git llvmpipe: Dump only the generated function. --- diff --git a/src/gallium/drivers/llvmpipe/lp_state_blend.c b/src/gallium/drivers/llvmpipe/lp_state_blend.c index c75214430f1..be3e7b16291 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_blend.c +++ b/src/gallium/drivers/llvmpipe/lp_state_blend.c @@ -135,12 +135,12 @@ llvmpipe_create_blend_state(struct pipe_context *pipe, "alpha_func", debug_dump_blend_func (blend->base.alpha_func, TRUE), "alpha_src_factor", debug_dump_blend_factor(blend->base.alpha_src_factor, TRUE), "alpha_dst_factor", debug_dump_blend_factor(blend->base.alpha_dst_factor, TRUE)); - LLVMDumpModule(screen->module); + LLVMDumpValue(blend->function); debug_printf("\n"); #endif if(LLVMVerifyFunction(blend->function, LLVMPrintMessageAction)) { - LLVMDumpModule(screen->module); + LLVMDumpValue(blend->function); abort(); }