summaryrefslogtreecommitdiff
path: root/src/glsl/ir_optimization.h
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-09-16 14:40:26 +0200
committerIan Romanick <ian.d.romanick@intel.com>2010-09-17 11:00:24 +0200
commita6ecd1c3724a78b76ab9e81ea39632f1279021f8 (patch)
treecc42484babe94e40d020f04f4c0082da98027540 /src/glsl/ir_optimization.h
parent6e4fe39da26bf101f5fe1103ba426c0903445352 (diff)
glsl2: Add flags to enable variable index lowering
Diffstat (limited to 'src/glsl/ir_optimization.h')
-rw-r--r--src/glsl/ir_optimization.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/glsl/ir_optimization.h b/src/glsl/ir_optimization.h
index 5c8dc17d33..6a37e167fe 100644
--- a/src/glsl/ir_optimization.h
+++ b/src/glsl/ir_optimization.h
@@ -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);