glsl2: Add constant propagation.
[mesa.git] / src / glsl / ir_optimization.h
index c6e7beb447fa275cf15ddad2800c3441b1ea37d9..97a0c25216e033786f1c2168fbe335f3f6eaaf61 100644 (file)
@@ -33,6 +33,7 @@ bool do_constant_folding(exec_list *instructions);
 bool do_constant_variable(exec_list *instructions);
 bool do_constant_variable_unlinked(exec_list *instructions);
 bool do_copy_propagation(exec_list *instructions);
+bool do_constant_propagation(exec_list *instructions);
 bool do_dead_code(exec_list *instructions);
 bool do_dead_code_local(exec_list *instructions);
 bool do_dead_code_unlinked(exec_list *instructions);