summaryrefslogtreecommitdiff
path: root/ir.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-04-06 11:52:09 -0700
committerEric Anholt <eric@anholt.net>2010-04-06 11:52:09 -0700
commit70b74928a220aff024664714877defb0caedf33f (patch)
tree25654ba34cbf54d81ae0ec3aa8dfb8e68e6ee4a5 /ir.h
parente5a9e70cde3dda27dca045b12c5a818215b1a449 (diff)
Make constant folding descend into if statements.
Diffstat (limited to 'ir.h')
-rw-r--r--ir.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ir.h b/ir.h
index a515d9a..adc1405 100644
--- a/ir.h
+++ b/ir.h
@@ -607,6 +607,8 @@ public:
} value;
};
+void
+visit_exec_list(exec_list *list, ir_visitor *visitor);
extern void
_mesa_glsl_initialize_variables(exec_list *instructions,