From: Brian Paul Date: Thu, 18 Jun 2009 20:24:30 +0000 (-0600) Subject: glsl: remove debug code, misc clean-up X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f38872473cc035487dbe265a520cb4c6eb3cc81c;p=mesa.git glsl: remove debug code, misc clean-up --- diff --git a/src/mesa/shader/slang/slang_codegen.c b/src/mesa/shader/slang/slang_codegen.c index e41b43853a8..55a47b336d8 100644 --- a/src/mesa/shader/slang/slang_codegen.c +++ b/src/mesa/shader/slang/slang_codegen.c @@ -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; }