Brian Paul <bri...@vmware.com> writes:

> glGetTexImage(GL_DEPTH_STENCIL, GL_UNSIGNED_INT_24_8) was just
> using memcpy() instead of _mesa_unpack_uint_24_8_depth_stencil_row()
> to convert texels from the hardware format to the GL format.
>
> Fixes issue reported by David Meng at Intel.  The new piglit
> ext_packed_depth_stencil-getteximage test checks for this bug.
>
> Also, add some format/type assertions.  We don't yet handle the
> GL_FLOAT_32_UNSIGNED_INT_24_8_REV type.  That should be fixed in
> a follow-on patch.

Reviewed-by: Eric Anholt <e...@anholt.net>

Attachment: pgp7E5swJ_8lG.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to