mesa/es3: Don't check dimensions in _mesa_es3_error_check_format_and_type
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 16 Jan 2013 23:34:49 +0000 (15:34 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 17 Jan 2013 18:47:46 +0000 (10:47 -0800)
commitca39c0f94a4e3cc25b6cc9507fb729b85140733a
tree8e602b5c5d9e8435a4964ee809a4ba0f91e647bf
parent311cc5d973115465cb7b0e272702e14124478ded
mesa/es3: Don't check dimensions in _mesa_es3_error_check_format_and_type

Filtering of DEPTH_COMPONENT and DEPTH_STENCIL for TEXTURE_3D is already
done in texture_error_check because these combinations aren't allowed on
desktop GL either.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/main/glformats.c
src/mesa/main/glformats.h
src/mesa/main/teximage.c