[Mesa-dev] [PATCH v2 02/25] mesa: Add boilerplate for the GL 4.6 alias of glSpecializeShaderARB

Ian Romanick idr at freedesktop.org
Thu Nov 30 23:57:39 UTC 2017


I'd squash this in with the previous patch.

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

On 11/30/2017 09:28 AM, Eduardo Lima Mitev wrote:
> From: Neil Roberts <nroberts at igalia.com>
> 
> ---
>  src/mapi/glapi/gen/GL4x.xml | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/src/mapi/glapi/gen/GL4x.xml b/src/mapi/glapi/gen/GL4x.xml
> index 88dba5cd71a..0a8094166c8 100644
> --- a/src/mapi/glapi/gen/GL4x.xml
> +++ b/src/mapi/glapi/gen/GL4x.xml
> @@ -73,6 +73,17 @@
>      <param name="clamp" type="GLfloat"/>
>    </function>
>    <enum name="POLYGON_OFFSET_CLAMP" value="0x8E1B"/>
> +
> +  <enum name="SHADER_BINARY_FORMAT_SPIR_V" value="0x9551"/>
> +  <enum name="SPIR_V_BINARY" value="0x9552"/>
> +
> +  <function name="SpecializeShader" alias="SpecializeShaderARB">
> +    <param name="shader" type="GLuint"/>
> +    <param name="pEntryPoint" type="const GLchar *"/>
> +    <param name="numSpecializationConstants" type="GLuint"/>
> +    <param name="pConstantIndex" type="const GLuint *"/>
> +    <param name="pConstantValue" type="const GLuint *"/>
> +  </function>
>  </category>
>  
>  </OpenGLAPI>
> 



More information about the mesa-dev mailing list