glsl2: Add a pass for converting if statements to conditional assignment.

This will be used on 915 and similar hardware of that generation.
This commit is contained in:
Eric Anholt
2010-07-19 09:36:43 -07:00
parent d16044ad4d
commit 29ce44ad2b
3 changed files with 169 additions and 0 deletions

View File

@@ -41,6 +41,7 @@ bool do_div_to_mul_rcp(exec_list *instructions);
bool do_function_inlining(exec_list *instructions);
bool do_if_return(exec_list *instructions);
bool do_if_simplification(exec_list *instructions);
bool do_if_to_cond_assign(exec_list *instructions);
bool do_mat_op_to_vec(exec_list *instructions);
bool do_mod_to_fract(exec_list *instructions);
bool do_swizzle_swizzle(exec_list *instructions);