summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/prog_execute.c
diff options
context:
space:
mode:
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 013d65ce869..356d4ce2490 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) */