From: Brian Date: Fri, 20 Apr 2007 14:11:51 +0000 (-0600) Subject: another bit of debug code X-Git-Tag: 062012170305~19517 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a7f7366d382b2fe124f1495baf0360bffa30f0c0;p=profile%2Fivi%2Fmesa.git another bit of debug code --- diff --git a/src/mesa/shader/prog_execute.c b/src/mesa/shader/prog_execute.c index 013d65c..356d4ce 100644 --- a/src/mesa/shader/prog_execute.c +++ b/src/mesa/shader/prog_execute.c @@ -933,6 +933,9 @@ _mesa_execute_program(GLcontext * ctx, else { cond = eval_condition(machine, inst); } + if (DEBUG_PROG) { + printf("IF: %d\n", cond); + } /* do if/else */ if (cond) { /* do if-clause (just continue execution) */