OSDN Git Service

mesa: add GL_UNSIGNED_INT_24_8 to _mesa_pack_depth_span
authorTapani Pälli <tapani.palli@intel.com>
Thu, 8 Oct 2015 06:43:41 +0000 (09:43 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Fri, 9 Oct 2015 06:11:14 +0000 (09:11 +0300)
commitd8d0e4a81e42678cc8c8b876dfee24d5c2f4ba38
tree43b927881c664882d8ba31117fcd698ce692c8c4
parent7d7dd1871174905dfdd3ca874a09d9d7837ac743
mesa: add GL_UNSIGNED_INT_24_8 to _mesa_pack_depth_span

Patch adds missing type (used with NV_read_depth) so that it gets
handled correctly. This fixes errors seen with following CTS test:

   ES3-CTS.gtf.GL3Tests.packed_pixels.packed_pixels

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Cc: "11.0" <mesa-stable@lists.freedesktop.org>
src/mesa/main/pack.c