aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2012-05-18 16:25:31 -0700
committerIan Romanick <[email protected]>2012-07-06 09:49:24 -0700
commit39a0b79c6f1312a5f8e6cd61fba95a81a911e577 (patch)
tree7b29897e33f725900248918d0b7f02eec65ecdd5 /src
parent5c8f5e9af0f6a8ff8a6114396c4b9bb2bff1f2a8 (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]> (cherry picked from commit adfe53184155f33958f82383a7148b0536455a4c)
Diffstat (limited to 'src')
-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 d3fdcf086ff..c77511e20fe 100644
--- a/src/glsl/ast_to_hir.cpp
+++ b/src/glsl/ast_to_hir.cpp
@@ -3735,13 +3735,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");