glapi/es3.1: Add support for GLES versions > 3.0
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 29 Apr 2015 20:15:06 +0000 (13:15 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 4 May 2015 20:49:58 +0000 (13:49 -0700)
commit1c5a57aee109ef513df0d281aadc69db293cc3d8
tree269c32cd0a6310132f2113fa283f9a735851d3ce
parent23d2f63b588fba37a2362db61927aff862333a71
glapi/es3.1: Add support for GLES versions > 3.0

Make the checks in the Python script and the generated code more generic
to support arbitrary GLES versions >= 2.0.

The updated dispatch_sanity.cpp test discovered this problem.  Without
this, the next patch would erroneously enable GLES 3.1 functions in GLES
2.0 and GLES 3.0.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mapi/glapi/gen/gl_genexec.py