glformats: add _mesa_es3_error_check_format_and_type
authorMatt Turner <mattst88@gmail.com>
Thu, 6 Dec 2012 22:51:29 +0000 (14:51 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Tue, 15 Jan 2013 04:47:59 +0000 (20:47 -0800)
commit9cfcac45283e12188de915bd6be3522f13b690d3
treefda403d449ecb68435db876f4d0d512e10eb5b8c
parentcf300eaab68153d818f6c29f4b487162a589dcfa
glformats: add _mesa_es3_error_check_format_and_type

This function checks for ES3 compatible
format/type/internalFormat/dimension combinations.

[jordan.l.justen@intel.com: additional tweaks for gles3-gtf]
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/glformats.c
src/mesa/main/glformats.h