u_format: Fix bitshifting for unpacking from 10F.
authorEric Anholt <eric@anholt.net>
Tue, 25 Oct 2011 23:53:00 +0000 (16:53 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 28 Oct 2011 19:10:01 +0000 (12:10 -0700)
commit3d7477206d7a345eb53df5c1288a5b34e83bc2d8
treeb62681b3550d606ffa4da3e6a756d548f684e552
parent028ce1cd0f5bb3e0169618cd572ac00968b8bd13
u_format: Fix bitshifting for unpacking from 10F.

This code was copy and pasted from the 11F unpacking, but not updated
for actually being 10 bits instead of 11.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41206
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