mapi: Add PatchParameteriOES and PatchParameteriEXT.

The OES_tessellation_shader and EXT_tessellation_shader specifications
have suffixed names.  These are identical to the core function, so just
alias them.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
Kenneth Graunke 2016-07-08 11:42:08 -07:00
parent 96bbb620a5
commit 73554c47e0
2 changed files with 13 additions and 0 deletions

View file

@ -58,6 +58,16 @@
<param name="pname" type="GLenum"/>
<param name="values" type="const GLfloat *"/>
</function>
<function name="PatchParameteriEXT" es2="3.1" alias="PatchParameteri">
<param name="pname" type="GLenum"/>
<param name="value" type="GLint"/>
</function>
<function name="PatchParameteriOES" es2="3.1" alias="PatchParameteri">
<param name="pname" type="GLenum"/>
<param name="value" type="GLint"/>
</function>
</category>
</OpenGLAPI>

View file

@ -2594,5 +2594,8 @@ const struct function gles31_functions_possible[] = {
/* GL_OES_geometry_shader */
{ "glFramebufferTextureOES", 31, -1},
/* GL_OES_tessellation_shader */
{ "glPatchParameteriOES", 31, -1 },
{ NULL, 0, -1 },
};