glsl: remove debug code, misc clean-up
authorBrian Paul <brianp@vmware.com>
Thu, 18 Jun 2009 20:24:30 +0000 (14:24 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 26 Jun 2009 19:16:32 +0000 (13:16 -0600)
src/mesa/shader/slang/slang_codegen.c

index e41b43853a80aa84f5e3ef4d69e61cfb78552b49..55a47b336d852e78e93571c398cc39582309265a 100644 (file)
@@ -2796,7 +2796,6 @@ _slang_gen_for_without_continue(slang_assemble_ctx *A, slang_operation *oper)
       /* finally, replace "continue" with "break" in inner for-loop */
       {
          slang_operation *body = slang_oper_child(innerFor, 3);
-         printf("remove continue!\n");
          while (1) {
             slang_operation *op =_slang_find_node_type(body, SLANG_OPER_CONTINUE);
             if (op) {
@@ -2809,11 +2808,7 @@ _slang_gen_for_without_continue(slang_assemble_ctx *A, slang_operation *oper)
       }
    }
 
-   slang_print_tree(top, 5);
-
-
    return _slang_gen_operation(A, top);
-   //return top;//oper;
 }