format_unpack: add 8/16 rgba/rgb types.
authorDave Airlie <airlied@redhat.com>
Sun, 27 Nov 2011 20:54:34 +0000 (20:54 +0000)
committerDave Airlie <airlied@redhat.com>
Thu, 22 Dec 2011 12:25:32 +0000 (12:25 +0000)
commitd61d39922b06c234790d055761407eaf4333ccde
treea0addacc8352b1b4ce720fe6e5ec8e38bfccf011
parentf1d89638c02afafbf82ef657cd6ba9965dad6738
format_unpack: add 8/16 rgba/rgb types.

fixing these makes piglit fbo-integer pass on softpipe.

modified to re-order things, haven't addressed Eric's concerns,
can't find anything in spec that mentions sign extensions, it does say
integers aren't clamped or modified.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/main/format_unpack.c