diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-07-02 16:50:52 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-07-02 16:50:52 -0600 |
commit | cb79c5c7c62a661c4b7b4efcf3884ee1dedafe4f (patch) | |
tree | 9df3c34eb4d5668292d8d14244e83d9719403fa6 /src/mesa/shader/slang/slang_compile.c | |
parent | 36a582641119671688a9f366e5bfa1ab3e8b9cbc (diff) |
mesa: added some debug code (disabled)
Diffstat (limited to 'src/mesa/shader/slang/slang_compile.c')
-rw-r--r-- | src/mesa/shader/slang/slang_compile.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_compile.c b/src/mesa/shader/slang/slang_compile.c index cdea1c5128..4cda7124c0 100644 --- a/src/mesa/shader/slang/slang_compile.c +++ b/src/mesa/shader/slang/slang_compile.c @@ -2129,6 +2129,12 @@ compile_shader(GLcontext *ctx, slang_code_object * object, GLboolean success; grammar id = 0; +#if 0 /* for debug */ + _mesa_printf("********* COMPILE SHADER ***********\n"); + _mesa_printf("%s\n", shader->Source); + _mesa_printf("************************************\n"); +#endif + assert(program); _slang_code_object_dtr(object); |