summaryrefslogtreecommitdiff
path: root/src/mesa/shader/prog_execute.c
diff options
context:
space:
mode:
authorBrian <brian@yutani.localnet.net>2007-04-20 08:11:51 -0600
committerBrian <brian@yutani.localnet.net>2007-04-21 10:05:05 -0600
commita7f7366d382b2fe124f1495baf0360bffa30f0c0 (patch)
treeb7bbc5b797efd9a99165440bee628403149edff6 /src/mesa/shader/prog_execute.c
parent11e3f733ba5c26f68fb8a7d69e6f94c1b5361f7d (diff)
another bit of debug code
Diffstat (limited to 'src/mesa/shader/prog_execute.c')
-rw-r--r--src/mesa/shader/prog_execute.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/shader/prog_execute.c b/src/mesa/shader/prog_execute.c
index 013d65ce86..356d4ce249 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) */