Re: [Mesa-dev] [PATCH] mesa: do depth/stencil format conversion in glGetTexImage

2014-02-27 Thread Eric Anholt
Brian Paul 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_d

[Mesa-dev] [PATCH] mesa: do depth/stencil format conversion in glGetTexImage

2014-02-27 Thread Brian Paul
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 ch