mesa: add _mesa_pack_colormask()
authorBrian Paul <brianp@vmware.com>
Sat, 24 Dec 2011 15:54:26 +0000 (08:54 -0700)
committerBrian Paul <brianp@vmware.com>
Sat, 24 Dec 2011 15:54:26 +0000 (08:54 -0700)
commitf1a2aa5cb338766d7a612b2c82c7ec588ed23d0b
treebb5d2875ac6fbec384d2d8f2cef52ee5a0c2c3b1
parent488d7fc67d36bc0e5247f5d011e8ad4c2dceb5a7
mesa: add _mesa_pack_colormask()

For generating bit-wise colormasks for arbitrary pixel formats.

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