mesa: add _mesa_rebase_rgba_float/uint() functions
authorBrian Paul <brianp@vmware.com>
Thu, 1 Mar 2012 03:55:49 +0000 (20:55 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 9 Mar 2012 03:10:36 +0000 (20:10 -0700)
commit774c4027651436451b3486f62b9a8903f29a715b
tree1f757d9d0aafdcb38ce83fb271e07a0a6ef76cf1
parentbe5f27a84d0d4efb57071d9d7ecda061223d03ef
mesa: add _mesa_rebase_rgba_float/uint() functions

These will be used by glReadPixels() and glGetTexImage() to fix issues
with reading GL_LUMINANCE and other formats.

NOTE: This is a candidate for the 8.0 branch.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/mesa/main/pack.c
src/mesa/main/pack.h