mesa: use z32f_x24s8 struct in format pack/unpack code
authorBrian Paul <brianp@vmware.com>
Mon, 13 Feb 2012 17:06:54 +0000 (10:06 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 15 Feb 2012 21:08:50 +0000 (14:08 -0700)
commit0bda900743702a2c0f95024f004e6210e59fd5dd
treef991769a0215e501fe33a03e5769c28da437b778
parentdba7ad0ca92f1ff4012db4ffdf102d7bb8ee3c10
mesa: use z32f_x24s8 struct in format pack/unpack code

And remove needless & 0xff in _mesa_pack_uint_24_8_depth_stencil_row().
As suggested by José.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/format_pack.c
src/mesa/main/format_unpack.c