[Mesa-dev] [PATCH v2] mesa: Add GL4.6 aliases of functions from GL_ARB_indirect_parameters

Ian Romanick idr at freedesktop.org
Thu Jan 4 19:41:33 UTC 2018


The XML is usually organized as

<category>
   <!--- all the enums --->

   <!--- all the functions --->
</category>

It looks like the 4.6 XML already doesn't follow that, so I won't give
you grief about not using that organization in this patch either.  I
would, however, accept a follow-up patch that moves all the enums to the
top of the <category> block. :D

Either way, this patch is

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

On 01/04/2018 09:49 AM, Neil Roberts wrote:
> ---
> 
> This is just a rebase of the patch with a minor conflict resolution.
> 
>  src/mapi/glapi/gen/GL4x.xml | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
> 
> diff --git a/src/mapi/glapi/gen/GL4x.xml b/src/mapi/glapi/gen/GL4x.xml
> index 0a80941..4b2703c 100644
> --- a/src/mapi/glapi/gen/GL4x.xml
> +++ b/src/mapi/glapi/gen/GL4x.xml
> @@ -84,6 +84,28 @@
>      <param name="pConstantIndex" type="const GLuint *"/>
>      <param name="pConstantValue" type="const GLuint *"/>
>    </function>
> +
> +  <enum name="PARAMETER_BUFFER" value="0x80EE"/>
> +  <enum name="PARAMETER_BUFFER_BINDING" value="0x80EF"/>
> +
> +  <function name="MultiDrawArraysIndirectCount"
> +            alias="MultiDrawArraysIndirectCountARB">
> +    <param name="mode" type="GLenum"/>
> +    <param name="indirect" type="GLintptr"/>
> +    <param name="drawcount" type="GLintptr"/>
> +    <param name="maxdrawcount" type="GLsizei"/>
> +    <param name="stride" type="GLsizei"/>
> +  </function>
> +
> +  <function name="MultiDrawElementsIndirectCount"
> +            alias="MultiDrawElementsIndirectCountARB">
> +    <param name="mode" type="GLenum"/>
> +    <param name="type" type="GLenum"/>
> +    <param name="indirect" type="GLintptr"/>
> +    <param name="drawcount" type="GLintptr"/>
> +    <param name="maxdrawcount" type="GLsizei"/>
> +    <param name="stride" type="GLsizei"/>
> +  </function>
>  </category>
>  
>  </OpenGLAPI>
> 



More information about the mesa-dev mailing list