summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-08-11 13:10:15 +0100
committerJosé Fonseca <[email protected]>2009-08-29 09:21:29 +0100
commit9033c44a62e27ba3095792c3578750a843733e00 (patch)
tree2591d55daf597b475f3fdbd2fe9d5c9afacfa378
parent4393ca7956bd03e07b4d7a019705fc62d4ac7155 (diff)
llvmpipe: Dump only the generated function.
-rw-r--r--src/gallium/drivers/llvmpipe/lp_state_blend.c4
1 files changed, 2 insertions, 2 deletions
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();
}