Remove _mesa_sqrt* in favor of plain sqrt
authorMatt Turner <mattst88@gmail.com>
Fri, 20 Jul 2012 16:55:47 +0000 (09:55 -0700)
committerMatt Turner <mattst88@gmail.com>
Sat, 21 Jul 2012 15:23:38 +0000 (08:23 -0700)
commit948b1c541f32b12e8264b1eeb79ccbb696661f54
treed830f2187a7af20b6c8cbefe106a45b597aea2d9
parentec79138138c3c88afb2052823b1e3f5271493085
Remove _mesa_sqrt* in favor of plain sqrt

Temporarily disabled since 2003 (see 386578c5b).

This saves us from calling sqrt() 128 times to generate the sqrttab in
one_time_init().

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/context.c
src/mesa/main/imports.c
src/mesa/main/imports.h