mapi: Add PatchParameteriOES and PatchParameteriEXT.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 8 Jul 2016 18:42:08 +0000 (11:42 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 8 Aug 2016 16:59:03 +0000 (09:59 -0700)
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>
src/mapi/glapi/gen/ARB_tessellation_shader.xml
src/mesa/main/tests/dispatch_sanity.cpp

index cc55f9bb889c2969cc3dd865b5f5a61e404c2b4c..e26f227b618ab7b6cf176c44ca08c296979749a3 100644 (file)
         <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>
index ee3c3d4abe7f9f09f991b42576ff9fa283edb060..cfbf70dc5f02f4ce9391d5e6d64e40f47f850763 100644 (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 },
  };