Module: Mesa Branch: lp-setup-interp Commit: fe472662526ec9cd751635fab717ac74868bff8d URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fe472662526ec9cd751635fab717ac74868bff8d
Author: José Fonseca <[email protected]> Date: Mon May 31 20:01:29 2010 +0100 llvmpipe: Show fs's TGSI when LP_DEBUG=tgsi is set. --- src/gallium/drivers/llvmpipe/lp_state_fs.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c b/src/gallium/drivers/llvmpipe/lp_state_fs.c index c394c6c..5a15a94 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_fs.c +++ b/src/gallium/drivers/llvmpipe/lp_state_fs.c @@ -88,6 +88,7 @@ #include "lp_bld_blend.h" #include "lp_bld_depth.h" #include "lp_context.h" +#include "lp_debug.h" #include "lp_perf.h" #include "lp_screen.h" #include "lp_setup.h" @@ -1006,7 +1007,7 @@ llvmpipe_create_fs_state(struct pipe_context *pipe, llvmpipe_fs_analyse(shader); - if (gallivm_debug & GALLIVM_DEBUG_TGSI) { + if (LP_DEBUG & DEBUG_TGSI) { debug_printf("llvmpipe: Create fragment shader %p:\n", (void *) shader); tgsi_dump(templ->tokens, 0); } _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
