Mesa (master): glsl: Remove unused function prototypes.

Paul Berry stereotype441 at kemper.freedesktop.org
Fri Jul 8 17:03:40 UTC 2011


Module: Mesa
Branch: master
Commit: 5fb79fc69f56cf2d8d44e4c6c2d8b862bc631139
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5fb79fc69f56cf2d8d44e4c6c2d8b862bc631139

Author: Paul Berry <stereotype441 at gmail.com>
Date:   Tue Jul  5 11:29:40 2011 -0700

glsl: Remove unused function prototypes.

No functional change.  Remove prototypes for do_mod_to_fract() and
do_sub_to_add_neg(), which haven't existed since November 2010.

---

 src/glsl/ir_optimization.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/glsl/ir_optimization.h b/src/glsl/ir_optimization.h
index dd26567..59a0407 100644
--- a/src/glsl/ir_optimization.h
+++ b/src/glsl/ir_optimization.h
@@ -56,10 +56,8 @@ bool do_if_simplification(exec_list *instructions);
 bool do_discard_simplification(exec_list *instructions);
 bool lower_if_to_cond_assign(exec_list *instructions, unsigned max_depth = 0);
 bool do_mat_op_to_vec(exec_list *instructions);
-bool do_mod_to_fract(exec_list *instructions);
 bool do_noop_swizzle(exec_list *instructions);
 bool do_structure_splitting(exec_list *instructions);
-bool do_sub_to_add_neg(exec_list *instructions);
 bool do_swizzle_swizzle(exec_list *instructions);
 bool do_tree_grafting(exec_list *instructions);
 bool do_vec_index_to_cond_assign(exec_list *instructions);




More information about the mesa-commit mailing list