glsl: Remove spurious printf messages
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 18 May 2012 23:25:31 +0000 (16:25 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 1 Jun 2012 19:27:04 +0000 (12:27 -0700)
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 <ian.d.romanick@intel.com>
src/glsl/ast_to_hir.cpp

index e23718bdb31be9b4240f07e21e97ab404c9947f7..15aa88ea9ef2d1ac0d4fa03f7851f05069f425b8 100644 (file)
@@ -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");