u_format: Fix bit definition of UF10_MANTISSA_BITS.
authorEric Anholt <eric@anholt.net>
Tue, 25 Oct 2011 23:50:44 +0000 (16:50 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 28 Oct 2011 19:09:47 +0000 (12:09 -0700)
commit028ce1cd0f5bb3e0169618cd572ac00968b8bd13
tree7366daa9142d59659b8fcda570e5efc521e20e31
parent687e4446bf5c5d3bc4a56ad4e9291a9cf2a2958c
u_format: Fix bit definition of UF10_MANTISSA_BITS.

This is only used in the code for packing to INF, and resulted in an
extra bit set that was set anyway, so it was harmless except for the
confusion caused.

Reviewed-by: Marek Olšák <maraeo@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/gallium/auxiliary/util/u_format_r11g11b10f.h