meta: Fix ClearTexture with GL_DEPTH_COMPONENT.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 21 Mar 2017 07:30:06 +0000 (00:30 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 7 Dec 2017 04:35:46 +0000 (20:35 -0800)
commit8705ed13e3114ad994dbd46387576749f54fc7eb
tree2fce1608164e98afcc145dc874008e27a826d3a7
parentd6d16c02180929278dc49d3c9bdceece0aab189e
meta: Fix ClearTexture with GL_DEPTH_COMPONENT.

We only handled unpacking for GL_DEPTH_STENCIL formats.

Cemu was hitting _mesa_problem() for an unsupported format in
_mesa_unpack_float_32_uint_24_8_depth_stencil_row(), because the
format was depth-only, rather than depth-stencil.

Cc: "13.0 12.0" <mesa-stable@lists.freedesktop.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94739
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103966
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/mesa/drivers/common/meta.c