summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2012-05-18 16:25:31 -0700
committerIan Romanick <[email protected]>2012-06-01 12:27:04 -0700
commitadfe53184155f33958f82383a7148b0536455a4c (patch)
treef1d53bb34ec628c47cd247abeb3b322e9faca608
parentd6c2d3722d795381d3cdf11fe00f63780ad0725a (diff)
glsl: Remove spurious printf messages
These look like debug messages from the switch-statement development. NOTE: This is a candidate for the 8.0 release branch. Signed-off-by: Ian Romanick <[email protected]>
-rw-r--r--src/glsl/ast_to_hir.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp
index e23718bdb31..15aa88ea9ef 100644
--- a/src/glsl/ast_to_hir.cpp
+++ b/src/glsl/ast_to_hir.cpp
@@ -3733,13 +3733,10 @@ ast_case_label::hir(exec_list *instructions,
instructions->push_tail(set_fallthru_on_test);
} else { /* default case */
if (state->switch_state.previous_default) {
- printf("a\n");
YYLTYPE loc = this->get_location();
_mesa_glsl_error(& loc, state,
"multiple default labels in one switch");
- printf("b\n");
-
loc = state->switch_state.previous_default->get_location();
_mesa_glsl_error(& loc, state,
"this is the first default label");