summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2016-07-08 11:42:08 -0700
committerKenneth Graunke <[email protected]>2016-08-08 09:59:03 -0700
commit73554c47e0795a8f15a351b80498c60cf22b2535 (patch)
tree46ddf7e926bcaf3117a6fd8e13ef6e62d89fe108 /src
parent96bbb620a5952828cabe27ef7eb3adaa3f2226f4 (diff)
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 <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mapi/glapi/gen/ARB_tessellation_shader.xml10
-rw-r--r--src/mesa/main/tests/dispatch_sanity.cpp3
2 files changed, 13 insertions, 0 deletions
diff --git a/src/mapi/glapi/gen/ARB_tessellation_shader.xml b/src/mapi/glapi/gen/ARB_tessellation_shader.xml
index cc55f9bb889..e26f227b618 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 ee3c3d4abe7..cfbf70dc5f0 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 },
};