glsl2: Add flags to enable variable index lowering

This commit is contained in:
Ian Romanick
2010-09-16 14:40:26 +02:00
parent 6e4fe39da2
commit a6ecd1c372
5 changed files with 82 additions and 8 deletions

View File

@@ -56,5 +56,6 @@ bool do_tree_grafting(exec_list *instructions);
bool do_vec_index_to_cond_assign(exec_list *instructions);
bool do_vec_index_to_swizzle(exec_list *instructions);
bool lower_noise(exec_list *instructions);
bool lower_variable_index_to_cond_assign(exec_list *instructions);
bool lower_variable_index_to_cond_assign(exec_list *instructions,
bool lower_input, bool lower_output, bool lower_temp, bool lower_uniform);
bool optimize_redundant_jumps(exec_list *instructions);