mesa: use F_TO_I() instead of IROUND()
authorBrian Paul <brianp@vmware.com>
Fri, 18 May 2012 20:45:20 +0000 (14:45 -0600)
committerBrian Paul <brianp@vmware.com>
Sat, 19 May 2012 14:28:57 +0000 (08:28 -0600)
commitc9cb9cf0502f4ca179ed1b4dd763c94912843d38
treef518f7d395fe4919d8db078c7613a8d0316107af
parent699c1894eea6a42a747ebbc3974bf0abf3d1dd88
mesa: use F_TO_I() instead of IROUND()

Use it where performance matters more and the exact method of float->int
conversion/rounding isn't terribly important.  There should no net change
here since F_TO_I() is the new name of the old IROUND() function.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/mesa/main/macros.h
src/mesa/main/pack.c
src/mesa/main/pixeltransfer.c
src/mesa/program/prog_execute.c