projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c200911
)
mesa: disable debug output
author
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 16 Dec 2008 22:25:58 +0000
(15:25 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 6 Jan 2009 16:15:16 +0000
(09:15 -0700)
(cherry picked from commit
3be8d6db9e8bfbd1b3ebf9ac382857ad1e6ef753
)
src/mesa/shader/slang/slang_compile.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/slang/slang_compile.c
b/src/mesa/shader/slang/slang_compile.c
index 9ffffc3b496b9c2ab700be7d38a23ed4ed14dab2..d8aefd649503509e2510ac72d307063cefc93165 100644
(file)
--- 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;