mesa: add unpacking code for MESA_FORMAT_Z32_FLOAT_S8X24_UINT
authorBrian Paul <brianp@vmware.com>
Fri, 28 Feb 2014 14:55:04 +0000 (07:55 -0700)
committerBrian Paul <brianp@vmware.com>
Sat, 1 Mar 2014 00:16:37 +0000 (17:16 -0700)
commita12d4d0398c437911720069d293b469c60c4488c
tree2ca0bcd1e7e8aa04e02a81a5e1351d5e27370c51
parent2a399d9eae08be0a1b8fa2394a02aba54ede6b03
mesa: add unpacking code for MESA_FORMAT_Z32_FLOAT_S8X24_UINT

Fixes glGetTexImage() when converting from MESA_FORMAT_Z32_FLOAT_S8X24_UINT
to GL_UNSIGNED_INT_24_8.  Hit by the piglit
ext_packed_depth_stencil-getteximage test.

Cc: "10.0" "10.1" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/format_unpack.c