From eac030e38e3cdd4ed4534516e3d3a50c8a372719 Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Wed, 16 Jan 2013 19:49:40 -0800 Subject: mesa,glsl: Move round_to_even() from glsl to mesa/main (v2) Move round_to_even's definition to mesa/main so that _mesa_float_to_half() can use it in order to eliminate rounding bias. In additon to moving the fuction definition, prefix its name with "_mesa", just as all other functions in mesa/main are prefixed. v2: Fix Android build. Reviewed-by: Ian Romanick Signed-off-by: Chad Versace --- src/glsl/builtin_compiler/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'src/glsl/builtin_compiler') diff --git a/src/glsl/builtin_compiler/Makefile.am b/src/glsl/builtin_compiler/Makefile.am index 1a863b228df..976640822d8 100644 --- a/src/glsl/builtin_compiler/Makefile.am +++ b/src/glsl/builtin_compiler/Makefile.am @@ -55,6 +55,7 @@ libglslcore_la_SOURCES = \ builtin_compiler_SOURCES = \ $(top_srcdir)/src/mesa/main/hash_table.c \ + $(top_srcdir)/src/mesa/main/imports.c \ $(top_srcdir)/src/mesa/program/prog_hash_table.c\ $(top_srcdir)/src/mesa/program/symbol_table.c \ $(BUILTIN_COMPILER_CXX_FILES) \ -- cgit v1.2.3