mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 00:49:04 +02:00
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:
parent
96bbb620a5
commit
73554c47e0
2 changed files with 13 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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 },
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue