diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-12-16 15:25:58 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-01-06 09:15:16 -0700 |
commit | 681ff412f9828684bda8d156181f06360752c72d (patch) | |
tree | 6ae9b2711652938d0c675eda93ad4be3f5771ae4 /src/mesa/shader | |
parent | c2009111cc839ff3ba5df7c3a9170d31f706fa79 (diff) |
mesa: disable debug output
(cherry picked from commit 3be8d6db9e8bfbd1b3ebf9ac382857ad1e6ef753)
Diffstat (limited to 'src/mesa/shader')
-rw-r--r-- | src/mesa/shader/slang/slang_compile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/shader/slang/slang_compile.c b/src/mesa/shader/slang/slang_compile.c index 9ffffc3b49..d8aefd6495 100644 --- a/src/mesa/shader/slang/slang_compile.c +++ b/src/mesa/shader/slang/slang_compile.c @@ -158,7 +158,7 @@ typedef struct slang_output_ctx_ /* Debugging aid, print file/line where parsing error is detected */ #define RETURN0 \ do { \ - if (1) \ + if (0) \ printf("slang error at %s:%d\n", __FILE__, __LINE__); \ return 0; \ } while (0) @@ -1153,7 +1153,7 @@ parse_statement(slang_parse_ctx * C, slang_output_ctx * O, } break; default: - printf("Unexpected operation %d\n", op); + /*printf("Unexpected operation %d\n", op);*/ RETURN0; } return 1; |