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 10:56:12 +0200
commit5124015ca3ea4e400e987c474ca28841cb41d5fc (patch)
treecc42484babe94e40d020f04f4c0082da98027540 /src/glsl/ir_optimization.h
parentbbdd48a936a51862dd0bb062d923020d03c34192 (diff)
glsl2: Add flags to enable variable index loweringglsl2-lower-variable-indexing
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);