[Mesa-dev] [PATCH 01/18] mapi: Add PatchParameteriOES and PatchParameteriEXT.

Kenneth Graunke kenneth at whitecape.org
Mon Aug 1 17:29:28 UTC 2016


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 at whitecape.org>
---
 src/mapi/glapi/gen/ARB_tessellation_shader.xml | 10 ++++++++++
 src/mesa/main/tests/dispatch_sanity.cpp        |  3 +++
 2 files changed, 13 insertions(+)

diff --git a/src/mapi/glapi/gen/ARB_tessellation_shader.xml b/src/mapi/glapi/gen/ARB_tessellation_shader.xml
index cc55f9b..e26f227 100644
--- a/src/mapi/glapi/gen/ARB_tessellation_shader.xml
+++ b/src/mapi/glapi/gen/ARB_tessellation_shader.xml
@@ -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>
diff --git a/src/mesa/main/tests/dispatch_sanity.cpp b/src/mesa/main/tests/dispatch_sanity.cpp
index ee3c3d4..cfbf70d 100644
--- a/src/mesa/main/tests/dispatch_sanity.cpp
+++ b/src/mesa/main/tests/dispatch_sanity.cpp
@@ -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 },
  };
-- 
2.9.2



More information about the mesa-dev mailing list