diff options
author | Brian Paul <brianp@vmware.com> | 2009-06-08 10:58:04 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-06-08 10:58:04 -0600 |
commit | 854151ba62e4b1cb6a755f6c131ee2e0f680f39b (patch) | |
tree | b1e11557009be92ec935d5624f4029ec40c6cba9 /src/mesa/shader/slang | |
parent | cc26e2774615d5e18a0e19270a40b7dd1e4e99df (diff) |
glsl: preprocessor debug code (disabled)
Diffstat (limited to 'src/mesa/shader/slang')
-rw-r--r-- | src/mesa/shader/slang/slang_preprocess.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_preprocess.c b/src/mesa/shader/slang/slang_preprocess.c index ff913ad883..c3df76ded5 100644 --- a/src/mesa/shader/slang/slang_preprocess.c +++ b/src/mesa/shader/slang/slang_preprocess.c @@ -1319,6 +1319,11 @@ _slang_preprocess_directives(slang_string *output, success = preprocess_source (output, input, pid, eid, elog, extensions, pragmas); grammar_destroy (eid); grammar_destroy (pid); + if (0) { + _mesa_printf("Post-processed shader:\n"); + _mesa_printf("%s", output->data); + _mesa_printf("----------------------\n"); + } return success; } |