mesa: fix Z32_FLOAT -> uint conversion functions
authorBrian Paul <brianp@vmware.com>
Fri, 18 May 2012 19:33:53 +0000 (13:33 -0600)
committerBrian Paul <brianp@vmware.com>
Sat, 19 May 2012 14:28:57 +0000 (08:28 -0600)
commit31d59c78f01925c199fd3a49a27718b0659bbaf4
treeae735d7bb06213f5db97f607642afc895f808d9a
parentc3991e1c57d3e09fd17f0bd868b73b35cca96d6f
mesa: fix Z32_FLOAT -> uint conversion functions

The IROUND converted all arguments to 0 or 1.  That's not what we wanted.

NOTE: This is a candidate for the 8.0 branch.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/mesa/main/format_unpack.c