diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-05-08 23:23:41 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-05-08 23:29:05 +0100 |
commit | 8ad3e0b55df50beac8ba3c5cafa0be79641a4977 (patch) | |
tree | 1ee7f358e0fd2dce2715a2dc738c004236352f2e /src/gallium/drivers/llvmpipe | |
parent | 08b3179f483c9dacc9a0a46118afff6077eb0e8b (diff) |
gallivm: Add an alternative to LLVMDumpValue that works with Windows GUI apps.
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_state_fs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c b/src/gallium/drivers/llvmpipe/lp_state_fs.c index 6c81114482..43016ce4c4 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_fs.c +++ b/src/gallium/drivers/llvmpipe/lp_state_fs.c @@ -851,7 +851,7 @@ generate_fragment(struct llvmpipe_context *lp, #ifdef DEBUG if(LLVMVerifyFunction(function, LLVMPrintMessageAction)) { if (1) - LLVMDumpValue(function); + lp_debug_dump_value(function); abort(); } #endif @@ -862,7 +862,7 @@ generate_fragment(struct llvmpipe_context *lp, if (LP_DEBUG & DEBUG_JIT) { /* Print the LLVM IR to stderr */ - LLVMDumpValue(function); + lp_debug_dump_value(function); debug_printf("\n"); } |