mesa: Allow srcFormat=GL_DEPTH_STENCIL in _mesa_texstore_xx_xx() functions
authorAnuj Phogat <anuj.phogat@gmail.com>
Fri, 21 Mar 2014 20:07:13 +0000 (13:07 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Thu, 1 May 2014 17:58:40 +0000 (10:58 -0700)
commit1a8f9ba9b3aa8bed2047ff7c0b5816edb9c9cb62
treee0ca49a8f0bb2e0c19c4692c0237738c2d89a8bf
parentaeb9d4495dc32bcb457045b4ea8f4e5f0d4fc8c8
mesa: Allow srcFormat=GL_DEPTH_STENCIL in _mesa_texstore_xx_xx() functions

_mesa_texstore_z24_s8() and _mesa_texstore_z32f_x24s8() are capable of
handling GL_DEPTH_STENCIL format. So, allow it in both the functions.

Cc: <mesa-stable@lists.freedesktop.org>
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/texstore.c