util: Fix unpacking of R8G8Bx_SNORM format.
authorMichal Krol <michal@vmware.com>
Fri, 30 Jul 2010 14:59:05 +0000 (16:59 +0200)
committerMichal Krol <michal@vmware.com>
Mon, 2 Aug 2010 12:06:37 +0000 (14:06 +0200)
commitc1f33097f4a6cd33df57dc601ba1733985979a4f
treefdf97c96f931c1c60c32e7f44cb5a6234a48b728
parent4af5f11c3232015006f61c1a6befdff3411b8d6c
util: Fix unpacking of R8G8Bx_SNORM format.

Apparently, we must always use integers to perform calculations,
otherwise the results won't match D3D's CxV8U8 definition.
src/gallium/auxiliary/util/u_format_other.c