mesa/src
Brian Paul 699c1894ee mesa: reimplement IROUND(), add F_TO_I()
The different implementations of IROUND() behaved differently and in
the case of fistp, depended on the current x86 FPU rounding mode.
This caused some tests like piglit roundmode-pixelstore and
roundmode-getintegerv to fail on 32-bit x86 but pass on 64-bit x86.

Now IROUND() always rounds to the nearest integer (away from zero).
The new F_TO_I function converts a float to an int by whatever means
is fastest.  We'll use this where we're more concerned with performance
and not too worried to how the conversion is done.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
2012-05-19 08:28:57 -06:00
..
egl egl_dri2: Fix out of tree builds with the wayland backend enabled 2012-05-03 11:45:59 -04:00
gallium svga: whitespace, comments, formatting clean-ups 2012-05-19 08:28:57 -06:00
gbm gbm: Add gbm_bo_write entry point 2012-05-03 10:57:32 -04:00
getopt
glsl glsl: Drop the extra NULL specifiction on ir_assignment constructors. 2012-05-17 10:05:24 -07:00
glu scons: Add Haiku build support 2012-01-17 20:01:14 +00:00
glx darwin: Address a build failure on Leopard and earlier OS versions 2012-05-18 11:32:40 -07:00
gtest gtest: Don't actually install a library. 2012-04-16 11:25:39 -07:00
mapi glapi: Correct size of allocated _glapi_table struct 2012-04-22 20:39:32 -07:00
mesa mesa: reimplement IROUND(), add F_TO_I() 2012-05-19 08:28:57 -06:00
Makefile
SConscript scons: Do not build EGL on Solaris. 2012-05-03 22:58:35 -07:00