gallivm: Fixed overflow in lp_build_clamped_float_to_unsigned_norm.
authorJames Benton <jbenton@vmware.com>
Fri, 18 May 2012 15:01:25 +0000 (16:01 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 21 May 2012 19:24:44 +0000 (20:24 +0100)
commitf89b1f4ba4c7b13458532d916677aea3a66647dd
treebb7c6bbf0334f3b146dd5c8145e531358efbbc10
parentc286278481b5d495223264332416d9e44eb625e7
gallivm: Fixed overflow in lp_build_clamped_float_to_unsigned_norm.

Tested with lp_test_conv and lp_test_format, reduced errors.

Signed-off-by: José Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_conv.c