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 013d65ce8699a04dd16a201196d466aa26919871..356d4ce2490711a74627ac83f7398aba66e0e660 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) */