another bit of debug code
authorBrian <brian@yutani.localnet.net>
Fri, 20 Apr 2007 14:11:51 +0000 (08:11 -0600)
committerBrian <brian@yutani.localnet.net>
Sat, 21 Apr 2007 16:05:05 +0000 (10:05 -0600)
src/mesa/shader/prog_execute.c

index 013d65c..356d4ce 100644 (file)
@@ -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) */