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

Ian Romanick idr at freedesktop.org
Mon Aug 8 16:14:23 UTC 2016


It looks like only part of this series has landed?

Patches 1 through 7 and 9 through 12 are

Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

On 08/01/2016 10:29 AM, Kenneth Graunke 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 },
>   };
> 



More information about the mesa-dev mailing list