summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_optimization.h
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2012-05-15 12:27:15 +0100
committerJosé Fonseca <[email protected]>2012-05-15 12:27:15 +0100
commite88f9b9546119db83e19b1bdd2bc9db45058cebd (patch)
treeb765e140440b58aebc4a125f7a4e5cb1e56ddb3c /src/glsl/ir_optimization.h
parent9e9ae280e215988287b0f875c81bc2e146b9f5dd (diff)
glsl: Fix lower_discard_flow prototype mismatch.
Should fix MSVC link failure.
Diffstat (limited to 'src/glsl/ir_optimization.h')
-rw-r--r--src/glsl/ir_optimization.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ir_optimization.h b/src/glsl/ir_optimization.h
index cca63824d05..c435d771726 100644
--- a/src/glsl/ir_optimization.h
+++ b/src/glsl/ir_optimization.h
@@ -66,7 +66,7 @@ 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_discard(exec_list *instructions);
-bool lower_discard_flow(exec_list *instructions);
+void lower_discard_flow(exec_list *instructions);
bool lower_instructions(exec_list *instructions, unsigned what_to_lower);
bool lower_noise(exec_list *instructions);
bool lower_variable_index_to_cond_assign(exec_list *instructions,