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

Ilia Mirkin imirkin at alum.mit.edu
Mon Aug 1 22:30:20 UTC 2016


FYI, I've been putting these into sections in es_EXT.xml. Your call though.

On Aug 1, 2016 12:30 PM, "Kenneth Graunke" <kenneth at whitecape.org> wrote:

> 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
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160801/2e043b5a/attachment-0001.html>


More information about the mesa-dev mailing list