From 9033c44a62e27ba3095792c3578750a843733e00 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Tue, 11 Aug 2009 13:10:15 +0100 Subject: llvmpipe: Dump only the generated function. --- src/gallium/drivers/llvmpipe/lp_state_blend.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gallium/drivers') diff --git a/src/gallium/drivers/llvmpipe/lp_state_blend.c b/src/gallium/drivers/llvmpipe/lp_state_blend.c index c75214430f..be3e7b1629 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(); } -- cgit v1.2.3