projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a276909
)
llvmpipe: Show fs's TGSI when LP_DEBUG=tgsi is set.
author
José Fonseca
<jfonseca@vmware.com>
Mon, 31 May 2010 19:01:29 +0000
(20:01 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Mon, 31 May 2010 20:58:38 +0000
(21:58 +0100)
src/gallium/drivers/llvmpipe/lp_state_fs.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_state_fs.c
b/src/gallium/drivers/llvmpipe/lp_state_fs.c
index 0e5fd17974339e0717a850475d69e0310fef224d..21e90fe00ec3739c9739c8ab26944ad74a3a5337 100644
(file)
--- 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_depth.h"
#include "lp_bld_interp.h"
#include "lp_context.h"
+#include "lp_debug.h"
#include "lp_perf.h"
#include "lp_screen.h"
#include "lp_setup.h"
@@
-1011,7
+1012,7
@@
llvmpipe_create_fs_state(struct pipe_context *pipe,
/* we need to keep a local copy of the tokens */
shader->base.tokens = tgsi_dup_tokens(templ->tokens);
- 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);
}