gallium/util, mesa: Refactor etc1 unpack function
authorChad Versace <chad.versace@linux.intel.com>
Tue, 10 Jul 2012 23:23:39 +0000 (16:23 -0700)
committerChad Versace <chad.versace@linux.intel.com>
Mon, 16 Jul 2012 21:07:57 +0000 (14:07 -0700)
commitd7458e401e97aea882309855cc72730aa3b39920
tree3e0b856df59b7881ba08e755df91fc7997ca8a11
parent7250cd506baa0bd4649b30d87509cdd0cbc06a57
gallium/util, mesa: Refactor etc1 unpack function

Move the body of util_etc1_rgb8_unpack_rgba_unorm8 into a new function
that can be shared between gallium and dri drivers,
texcompress_etc_tmp.h:etc1_unpack_rgba8888.

CC: Chia-I <olv@lunarg.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
src/gallium/auxiliary/util/u_format_etc.c
src/mesa/main/texcompress_etc_tmp.h